diff options
author | Aaron LI <aly@aaronly.me> | 2018-10-30 21:30:30 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-10-30 22:04:27 +0800 |
commit | 00fccbb7e2491741f82e6603a37fe1a12af74c95 (patch) | |
tree | d40f6544629739fd31c881f7ea0f358cfab48750 /fg21sim/extragalactic/clusters/helper.py | |
parent | 802985804b795d97aacb7b701fd0aba02cff31f8 (diff) | |
download | fg21sim-00fccbb7e2491741f82e6603a37fe1a12af74c95.tar.bz2 |
clusters/halo: Update calculations of injection and halo radius
Diffstat (limited to 'fg21sim/extragalactic/clusters/helper.py')
-rw-r--r-- | fg21sim/extragalactic/clusters/helper.py | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/fg21sim/extragalactic/clusters/helper.py b/fg21sim/extragalactic/clusters/helper.py index ecbb866..96800e4 100644 --- a/fg21sim/extragalactic/clusters/helper.py +++ b/fg21sim/extragalactic/clusters/helper.py @@ -129,41 +129,6 @@ def radius_virial(mass, z=0.0): return R_vir * AUC.cm2kpc # [kpc] -def radius_halo(mass, z=0.0, configs=CONFIGS): - """ - Estimate the radius of (giant) radio halo. - - NOTE - ---- - The halo radius is estimated to be the same as the turbulence - injection scale, i.e.: - R_halo ≅ L_turb ≅ R_vir / 3 - where R_vir the virial radius of the merged (observed) cluster. - - Reference: [vazza2011],Sec.(3.6) - - Parameters - ---------- - mass : float, `~numpy.ndarray` - Cluster virial mass. - Unit: [Msun] - z : float, `~numpy.ndarray`, optional - Redshift - Default: 0.0 (i.e., present day) - - Returns - ------- - R_halo : float, `~numpy.ndarray` - Radius of the (simulated/predicted) giant radio halo - Unit: [kpc] - """ - # Turbulence injection scale factor - key = "extragalactic/halos/f_lturb" - f_lturb = configs.getn(key) - R_halo = f_lturb * radius_virial(mass=mass, z=z) # [kpc] - return R_halo - - def radius_stripping(M_main, M_sub, z, configs=CONFIGS): """ Calculate the stripping radius of the in-falling sub-cluster, which |