diff options
author | Aaron LI <aly@aaronly.me> | 2018-01-21 16:42:07 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-01-21 16:42:07 +0800 |
commit | ff9504cfc37362e67d1f6f88b35f6b5e4bdae24c (patch) | |
tree | dcdfc35d319eae081900369f2b9faf772a6fa2a0 /fg21sim/extragalactic/clusters/halo.py | |
parent | 5181899842fc69230eb815fc319639e84892be1b (diff) | |
download | fg21sim-ff9504cfc37362e67d1f6f88b35f6b5e4bdae24c.tar.bz2 |
clusters/halo: most consistent turbulent acceleration and time calculations
Diffstat (limited to 'fg21sim/extragalactic/clusters/halo.py')
-rw-r--r-- | fg21sim/extragalactic/clusters/halo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fg21sim/extragalactic/clusters/halo.py b/fg21sim/extragalactic/clusters/halo.py index 2e04189..4a1811e 100644 --- a/fg21sim/extragalactic/clusters/halo.py +++ b/fg21sim/extragalactic/clusters/halo.py @@ -347,8 +347,8 @@ class RadioHalo: t_merger = self._merger_time(t) z_merger = COSMO.redshift(t_merger) - mass_main = self.mass_main(t_merger) - R_vir = helper.radius_virial(mass=mass_main, z=z_merger) + mass_merged = self.mass_merged(t_merger) + R_vir = helper.radius_virial(mass=mass_merged, z=z_merger) L = self.f_lturb * R_vir # [kpc] cs = helper.speed_sound(self.kT(t_merger)) # [km/s] v_turb = self._velocity_turb(t_merger) # [km/s] |