diff options
author | Aaron LI <aly@aaronly.me> | 2019-02-21 22:25:16 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2019-02-21 22:25:16 +0800 |
commit | f44881c14f6bcf972da019f7c19d87faa84c4f80 (patch) | |
tree | ee44d8ed338cad8344e5d736e5a5e20d48e17343 /fg21sim/extragalactic/clusters | |
parent | 31e447fb10f1ac133a185a44d722e27d3b3d2c70 (diff) | |
download | fg21sim-f44881c14f6bcf972da019f7c19d87faa84c4f80.tar.bz2 |
clusters/halo: Minor tweaks
Diffstat (limited to 'fg21sim/extragalactic/clusters')
-rw-r--r-- | fg21sim/extragalactic/clusters/halo.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/fg21sim/extragalactic/clusters/halo.py b/fg21sim/extragalactic/clusters/halo.py index 40a7054..ab82a60 100644 --- a/fg21sim/extragalactic/clusters/halo.py +++ b/fg21sim/extragalactic/clusters/halo.py @@ -272,7 +272,8 @@ class RadioHalo1M: """ The duration that the turbulence persists strong enough to be able to effectively accelerate the electrons, which is estimated as: - τ_turb ~ d / v_impact ~ 2*R_turb / v_impact. + τ_turb ~ d / v_i ~ 2*R_turb / v_i, + where ``v_i`` is the relative impact velocity. Reference: [miniati2015],Sec.5 @@ -280,8 +281,8 @@ class RadioHalo1M: """ self._validate_time(t_merger, include_end=False) z_merger = COSMO.redshift(t_merger) - M_main = self.mass_main(t=t_merger) - M_sub = self.mass_sub(t=t_merger) + M_main = self.mass_main(t_merger) + M_sub = self.mass_sub(t_merger) d = 2 * self.radius_turb(t_merger) v_i = helper.velocity_impact(M_main, M_sub, z_merger) uconv = AUC.kpc2km * AUC.s2Gyr # [kpc]/[km/s] => [Gyr] @@ -305,7 +306,7 @@ class RadioHalo1M: Parameters ---------- - t_merger : float + t : float The beginning or ending time of the merger. Unit: [Gyr] |