diff options
Diffstat (limited to 'fg21sim/extragalactic')
-rw-r--r-- | fg21sim/extragalactic/clusters/halo.py | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/fg21sim/extragalactic/clusters/halo.py b/fg21sim/extragalactic/clusters/halo.py index 8216b2d..e340ec9 100644 --- a/fg21sim/extragalactic/clusters/halo.py +++ b/fg21sim/extragalactic/clusters/halo.py @@ -251,32 +251,13 @@ class RadioHalo: M_sub = self.mass_sub(t) return helper.radius_stripping(M_main, M_sub, z, configs=self.configs) - @property - def radius(self): + def calc_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. - Unit: [arcsec] - """ - DA = COSMO.DA(self.z_obs) * 1e3 # [Mpc] -> [kpc] - theta = self.radius / DA # [rad] - return theta * AUC.rad2arcsec - - @property - def volume(self): - """ - The halo volume, calculated from the above radius. - Unit: [kpc^3] - """ - return (4*np.pi/3) * self.radius**3 - @lru_cache() def kT(self, t): """ |