From 9a5478446d5e28b64783efe9c8282f2eb27be1a5 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Thu, 10 Jan 2019 00:11:08 +0800 Subject: clusters/main: Add _calc_cluster_info() Move the calculation of Rvir, kT, and B from halo.py to main.py. --- fg21sim/extragalactic/clusters/halo.py | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'fg21sim/extragalactic/clusters/halo.py') 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): """ -- cgit v1.2.2