aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim/extragalactic')
-rw-r--r--fg21sim/extragalactic/clusters/main.py2
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