def luminosity(wavelength,flux,lDistcm):
return const.c*u.s/u.m/(wavelength*10**-9)*flux*10**-23*(4*math.pi*lDistcm**2)/solarLum
# Given two coefficients and the color will return the mass-to-light ratio
# as defined by Bell and DeJong 2000
评论列表
文章目录