diff options
author | Aaron LI <aly@aaronly.me> | 2019-01-10 00:11:08 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2019-01-10 00:11:08 +0800 |
commit | 9a5478446d5e28b64783efe9c8282f2eb27be1a5 (patch) | |
tree | 4e945e1385144735f5a5c518e5d5c19e090a84b2 /fg21sim/extragalactic/clusters/halo.py | |
parent | 01bf43948b9e186953ff0fa3d2b76a8a958689ae (diff) | |
download | fg21sim-9a5478446d5e28b64783efe9c8282f2eb27be1a5.tar.bz2 |
clusters/main: Add _calc_cluster_info()
Move the calculation of Rvir, kT, and B from halo.py to main.py.
Diffstat (limited to 'fg21sim/extragalactic/clusters/halo.py')
-rw-r--r-- | fg21sim/extragalactic/clusters/halo.py | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/fg21sim/extragalactic/clusters/halo.py b/fg21sim/extragalactic/clusters/halo.py index c367eb5..19a1575 100644 --- a/fg21sim/extragalactic/clusters/halo.py +++ b/fg21sim/extragalactic/clusters/halo.py @@ -225,14 +225,6 @@ class RadioHalo: v_turb = self._velocity_turb(t_merger) # [km/s] return v_turb / cs - @property - def radius_virial_obs(self): - """ - The virial radius of the "current" cluster (``M_obs``) at ``z_obs``. - Unit: [kpc] - """ - return helper.radius_virial(mass=self.M_obs, z=self.z_obs) - @lru_cache() def radius_turbulence(self, t): """ @@ -285,27 +277,6 @@ class RadioHalo: """ return (4*np.pi/3) * self.radius**3 - @property - def B_obs(self): - """ - The magnetic field strength at the simulated observation - time (i.e., cluster mass of ``self.M_obs``), will be used - to calculate the synchrotron emissions. - - Unit: [uG] - """ - return helper.magnetic_field(mass=self.M_obs, z=self.z_obs, - configs=self.configs) - - @property - def kT_obs(self): - """ - The ICM mean temperature of the cluster at ``z_obs``. - Unit: [keV] - """ - return helper.kT_cluster(self.M_obs, z=self.z_obs, - configs=self.configs) - @lru_cache() def kT(self, t): """ |