From 1200e50fd24451ed7b56d137a20106c18c0e0153 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 16 Jan 2018 09:23:52 +0800 Subject: clusters: minor updates --- fg21sim/extragalactic/clusters/helper.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'fg21sim/extragalactic/clusters') diff --git a/fg21sim/extragalactic/clusters/helper.py b/fg21sim/extragalactic/clusters/helper.py index 39cee12..8d6db09 100644 --- a/fg21sim/extragalactic/clusters/helper.py +++ b/fg21sim/extragalactic/clusters/helper.py @@ -2,7 +2,7 @@ # MIT license """ -Helper functions +Functions to help simulate galaxy cluster diffuse emissions. References ---------- @@ -295,8 +295,7 @@ def speed_sound(kT): Reference: Ref.[zhuravleva2014],Appendix(Methods) """ - # The gas adiabatic index - gamma = AC.gamma + gamma = AC.gamma # gas adiabatic index cs = np.sqrt(gamma * kT*AUC.keV2erg / (AC.mu * AC.u)) # [cm/s] return cs * AUC.cm2km # [km/s] @@ -377,12 +376,12 @@ def time_crossing(M_main, M_sub, z=0.0): def time_turbulence(M_main, M_sub, z=0.0, configs=CONFIGS): """ - The timescale that the compressive turbulence persists, which is + The duration that the compressive turbulence persists, which is estimated as: τ_turb ≅ 2*d / v_impact, where d ≅ L ≅ R_vir / 3, and L is also the turbulence injection scale. - During this timescale, the merger-induced turbulence is regarded + During this period, the merger-induced turbulence is regarded to accelerate the relativistic electrons effectively. Unit: [Gyr] -- cgit v1.2.2