From 4cf96fd4c488af333db25f926ca6ed2da92adaf1 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 27 Jan 2019 17:24:29 +0800 Subject: clusters/main: Calculate acceleration factor --- fg21sim/extragalactic/clusters/main.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fg21sim') 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 -- cgit v1.2.2