def test_from_fnu(self):
fluxd = 6.0961896974549115 * u.mJy
nu = 2.998e14 / 11.7 * u.Hz
aper = 1 * u.arcsec
eph = dict(rh=1.5 * u.au, delta=1.0 * u.au)
S = 1.711e14 * u.Jy
efrho = Efrho.from_fluxd(nu, fluxd, aper, eph)
assert np.isclose(efrho.cm, 33.0)
评论列表
文章目录