From 8ca2c36300174a272ea7fbed18f084f9b5eccc47 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Thu, 31 Jan 2019 16:32:30 +0800 Subject: clusters/helper: Add radius_cluster() Ignore the cosmic evolution, keeping the radio halo modeling simple. --- fg21sim/extragalactic/clusters/helper.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/fg21sim/extragalactic/clusters/helper.py b/fg21sim/extragalactic/clusters/helper.py index a86206f..3f7a964 100644 --- a/fg21sim/extragalactic/clusters/helper.py +++ b/fg21sim/extragalactic/clusters/helper.py @@ -170,6 +170,25 @@ def radius_virial(mass, z=0.0): return radius_overdensity(mass, overdensity=Dc, z=z) +def radius_cluster(mass, z=0): + """ + Calculate the radius of the cluster. + + NOTE/XXX + -------- + The cosmic evolution makes the whole thing too complicated, e.g., + the thermal energy density becomes more sensitive to the redshifts + rather than cluster mass, therefore, the magnetic field, which is + assumed to be correlated with the thermal energy density, increases + more rapidly with increasing redshifts rather than cluster mass. + This is not expected. So ignore the cosmic evolution for modeling + radio halos, keeping the things simple. + + Unit: [kpc] + """ + return radius_virial(mass, z=0) + + def radius_stripping(M_main, M_sub, z, f_rc=0.1, beta=0.8): """ Calculate the stripping radius of the in-falling sub-cluster, which -- cgit v1.2.2