diff options
author | Aaron LI <aly@aaronly.me> | 2019-01-27 17:24:29 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2019-01-27 17:24:29 +0800 |
commit | 4cf96fd4c488af333db25f926ca6ed2da92adaf1 (patch) | |
tree | 51e632f6be871ec07d35fe1e4a10e1f5d894d549 | |
parent | 51d9937db622315727486d0bb8164b6890e9beba (diff) | |
download | fg21sim-4cf96fd4c488af333db25f926ca6ed2da92adaf1.tar.bz2 |
clusters/main: Calculate acceleration factor
-rw-r--r-- | fg21sim/extragalactic/clusters/main.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fg21sim/extragalactic/clusters/main.py b/fg21sim/extragalactic/clusters/main.py index a4b63fa..25b79c5 100644 --- a/fg21sim/extragalactic/clusters/main.py +++ b/fg21sim/extragalactic/clusters/main.py @@ -295,6 +295,7 @@ class GalaxyClusters: configs=self.configs) theta = halo.radius / (clinfo["DA"]*1e3) * AUC.rad2arcsec # [arcsec] n_e = halo.calc_electron_spectrum() + factor_acc = halo.calc_acc_factor(n_e) haloinfo = OrderedDict( **clinfo, @@ -303,6 +304,7 @@ class GalaxyClusters: n_e=n_e, # [cm^-3] gamma=halo.gamma, # Lorentz factors Ke=halo.injection_rate, # [cm^-3 Gyr^-1] + factor_acc=factor_acc, ) return haloinfo |