def test_fluxd(self):
afrho = Afrho(1000, 'cm')
aper = 1 * u.arcsec
eph = dict(rh=1.5 * u.au, delta=1.0 * u.au)
S = 1869 * u.W / u.m**2 / u.um
fluxd = afrho.fluxd(None, aper, eph, S=S)
assert fluxd.unit.is_equivalent(S.unit)
assert np.isclose(fluxd.value, 6.730018324465526e-14)
评论列表
文章目录