aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim')
-rw-r--r--fg21sim/extragalactic/clusters/halo.py22
1 files changed, 10 insertions, 12 deletions
diff --git a/fg21sim/extragalactic/clusters/halo.py b/fg21sim/extragalactic/clusters/halo.py
index e1e5e2e..b9b99aa 100644
--- a/fg21sim/extragalactic/clusters/halo.py
+++ b/fg21sim/extragalactic/clusters/halo.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2017-2018 Weitian LI <weitian@aaronly.me>
+# Copyright (c) 2017-2018 Weitian LI <wt@liwt.net>
# MIT license
"""
@@ -124,12 +124,10 @@ class RadioHalo:
The halo radius
Unit: [kpc]
gamma : 1D float `~numpy.ndarray`
- The Lorentz factors of the adopted logarithmic grid to solve the
- equation.
+ The Lorentz factors of the adopted logarithmic grid to solve the equation.
_acceleration_disabled : bool
Whether the turbulence acceleration is intentionally disabled?
"""
- # Component name
compID = "extragalactic/halos"
name = "giant radio halos"
@@ -235,14 +233,6 @@ class RadioHalo:
"""
return helper.radius_virial(mass=self.M_obs, z=self.z_obs)
- @property
- def radius(self):
- """
- The estimated radius of the simulated radio halo.
- Unit: [kpc]
- """
- return self.radius_turbulence(self.age_merger) * self.f_radius
-
@lru_cache()
def radius_turbulence(self, t):
"""
@@ -270,6 +260,14 @@ class RadioHalo:
return helper.radius_stripping(M_main, M_sub, z, configs=self.configs)
@property
+ def radius(self):
+ """
+ The estimated radius of the simulated radio halo.
+ Unit: [kpc]
+ """
+ return self.radius_turbulence(self.age_merger) * self.f_radius
+
+ @property
def angular_radius(self):
"""
The angular radius of the radio halo.