aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/galactic
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-09-01 15:31:24 +0800
committerAaron LI <aly@aaronly.me>2017-09-01 15:31:24 +0800
commitfb559ff794b79246fe64c3f0a11ddc7c55d9a9a8 (patch)
treecc7b97ced86f74e2ec8c88a84a698b0bc46afb1f /fg21sim/galactic
parente35fc3ce66a7dfe0099a17fdab83952460f52f62 (diff)
downloadfg21sim-fb559ff794b79246fe64c3f0a11ddc7c55d9a9a8.tar.bz2
Update "Fnu_to_Tb_fast()" to "Fnu_to_Tb()"
Diffstat (limited to 'fg21sim/galactic')
-rw-r--r--fg21sim/galactic/snr.py4
1 files changed, 2 insertions, 2 deletions
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):