aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic/clusters/halo.py
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-01-03 23:30:17 +0800
committerAaron LI <aly@aaronly.me>2018-01-03 23:30:17 +0800
commita57a01fab43c6eb692fc04ccb0f0c348a1eba3b1 (patch)
tree6a922a2c984e2415ba02a498c5989a65bd4dce87 /fg21sim/extragalactic/clusters/halo.py
parentb314fbe5084df28e719ec777d575882d625d8f72 (diff)
downloadfg21sim-a57a01fab43c6eb692fc04ccb0f0c348a1eba3b1.tar.bz2
clusters/halo: update radius_halo() calculation
Diffstat (limited to 'fg21sim/extragalactic/clusters/halo.py')
-rw-r--r--fg21sim/extragalactic/clusters/halo.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/fg21sim/extragalactic/clusters/halo.py b/fg21sim/extragalactic/clusters/halo.py
index a6dfbb3..847f57d 100644
--- a/fg21sim/extragalactic/clusters/halo.py
+++ b/fg21sim/extragalactic/clusters/halo.py
@@ -236,17 +236,9 @@ class RadioHalo:
def radius(self):
"""
The estimated radius for the simulated radio halo.
-
- NOTE
- ----
- The halo radius is assumed to be the virial radius of the falling
- sub-cluster. See ``helper.radius_halo()`` for more details.
-
Unit: [kpc]
"""
- r_halo = helper.radius_halo(self.M_main, self.M_sub,
- self.z_merger, configs=self.configs)
- return r_halo
+ return helper.radius_halo(self.M_obs, self.z_obs, configs=self.configs)
@property
def angular_radius(self):