aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic/clusters
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/extragalactic/clusters
parente35fc3ce66a7dfe0099a17fdab83952460f52f62 (diff)
downloadfg21sim-fb559ff794b79246fe64c3f0a11ddc7c55d9a9a8.tar.bz2
Update "Fnu_to_Tb_fast()" to "Fnu_to_Tb()"
Diffstat (limited to 'fg21sim/extragalactic/clusters')
-rw-r--r--fg21sim/extragalactic/clusters/helper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fg21sim/extragalactic/clusters/helper.py b/fg21sim/extragalactic/clusters/helper.py
index 26146cc..b54340c 100644
--- a/fg21sim/extragalactic/clusters/helper.py
+++ b/fg21sim/extragalactic/clusters/helper.py
@@ -40,7 +40,7 @@ from ...share import CONFIGS, COSMO
from ...utils.units import (Units as AU,
Constants as AC,
UnitConversions as AUC)
-from ...utils.convert import Fnu_to_Tb_fast
+from ...utils.convert import Fnu_to_Tb
from ...utils.draw import circle
from ...utils.transform import circle2ellipse
@@ -398,7 +398,7 @@ def calc_brightness_mean(flux, frequency, omega, pixelsize=None):
omega = pixelsize ** 2 # [arcsec^2]
logger.warning("Object sky coverage < 1 pixel; force to be 1 pixel")
- Tb = [Fnu_to_Tb_fast(Fnu, omega, freq)
+ Tb = [Fnu_to_Tb(Fnu, omega, freq)
for Fnu, freq in zip(np.array(flux, ndmin=1),
np.array(frequency, ndmin=1))]
if len(Tb) == 1: