diff options
author | Aaron LI <aly@aaronly.me> | 2019-01-31 16:32:30 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2019-01-31 16:32:30 +0800 |
commit | 8ca2c36300174a272ea7fbed18f084f9b5eccc47 (patch) | |
tree | 842854a33ce4d43ce4868d69cc0a9ea0cc9c1310 /fg21sim/extragalactic/clusters | |
parent | f84190254a39bf82953296b1fd97db2af59ed4a9 (diff) | |
download | fg21sim-8ca2c36300174a272ea7fbed18f084f9b5eccc47.tar.bz2 |
clusters/helper: Add radius_cluster()
Ignore the cosmic evolution, keeping the radio halo modeling simple.
Diffstat (limited to 'fg21sim/extragalactic/clusters')
-rw-r--r-- | fg21sim/extragalactic/clusters/helper.py | 19 |
1 files changed, 19 insertions, 0 deletions
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 |