aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic/clusters/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim/extragalactic/clusters/main.py')
-rw-r--r--fg21sim/extragalactic/clusters/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fg21sim/extragalactic/clusters/main.py b/fg21sim/extragalactic/clusters/main.py
index 0be553a..3327ea8 100644
--- a/fg21sim/extragalactic/clusters/main.py
+++ b/fg21sim/extragalactic/clusters/main.py
@@ -352,8 +352,8 @@ class GalaxyClusters:
if i % 100 == 0:
logger.info("[%d/%d] %.1f%% ..." % (i, num, 100*i/num))
theta_e = hdict["Rhalo_angular"] / self.sky.pixelsize
- rprofile = helper.halo_rprofile(re=theta_e)
- template = helper.draw_halo(rprofile, felong=hdict["felong"],
+ template = helper.draw_halo(radius=theta_e,
+ felong=hdict["felong"],
rotation=hdict["rotation"])
hdict["template"] = template
logger.info("Done drawn halo template images.")