From fb559ff794b79246fe64c3f0a11ddc7c55d9a9a8 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Fri, 1 Sep 2017 15:31:24 +0800 Subject: Update "Fnu_to_Tb_fast()" to "Fnu_to_Tb()" --- fg21sim/galactic/snr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fg21sim/galactic') diff --git a/fg21sim/galactic/snr.py b/fg21sim/galactic/snr.py index 74b9525..2e6d21c 100644 --- a/fg21sim/galactic/snr.py +++ b/fg21sim/galactic/snr.py @@ -32,7 +32,7 @@ from astropy.coordinates import SkyCoord from ..sky import get_sky from ..utils.wcs import make_wcs -from ..utils.convert import Fnu_to_Tb_fast +from ..utils.convert import Fnu_to_Tb from ..utils.grid import make_ellipse from ..utils.units import UnitConversions as AUC @@ -251,7 +251,7 @@ class SuperNovaRemnants: if omega < pixelarea: # The object is smaller than a pixel, so round up to a pixel area omega = pixelarea - Tb = Fnu_to_Tb_fast(Fnu, omega, frequency) + Tb = Fnu_to_Tb(Fnu, omega, frequency) return Tb def _simulate_templates(self): -- cgit v1.2.2