aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-07-25 09:32:12 +0800
committerAaron LI <aly@aaronly.me>2017-07-25 09:32:12 +0800
commit2960ea13adf5d95b4bb2f6869d59186b2c9b2158 (patch)
treebd21fe083064a78f63a3a445ba74bc60fd5eb66e /fg21sim
parente727de48313acacb55649893851674bb38fc3c72 (diff)
downloadfg21sim-2960ea13adf5d95b4bb2f6869d59186b2c9b2158.tar.bz2
clusters/halo: Change config "eta_turb" to "beta_turb"
This configuration option "beta_turb" has different meaning as "eta_turb" in [Cassano & Brunetti 2005], though they can both be an indicator for the turbulence acceleration efficiency. Rename this configuration option to make the difference more clear. Signed-off-by: Aaron LI <aly@aaronly.me>
Diffstat (limited to 'fg21sim')
-rw-r--r--fg21sim/configs/20-extragalactic.conf.spec5
-rw-r--r--fg21sim/extragalactic/clusters/halo.py6
2 files changed, 5 insertions, 6 deletions
diff --git a/fg21sim/configs/20-extragalactic.conf.spec b/fg21sim/configs/20-extragalactic.conf.spec
index b35507e..a48dbee 100644
--- a/fg21sim/configs/20-extragalactic.conf.spec
+++ b/fg21sim/configs/20-extragalactic.conf.spec
@@ -65,9 +65,8 @@
# Emission of giant radio halos from galaxy clusters
[[halos]]
- # Fraction of the turbulence energy in the form of magneto-sonic waves,
- # which will channel into relativistic electrons.
- eta_turb = float(default=0.3, min=0.0, max=1.0)
+ # Intensity of the turbulence acceleration.
+ beta_turb = float(default=0.3, min=0.1, max=2.0)
# Ratio of the total energy injected into cosmic-ray electrons during
# the cluster life to its total thermal energy.
diff --git a/fg21sim/extragalactic/clusters/halo.py b/fg21sim/extragalactic/clusters/halo.py
index ce4bcaf..7c52f97 100644
--- a/fg21sim/extragalactic/clusters/halo.py
+++ b/fg21sim/extragalactic/clusters/halo.py
@@ -111,7 +111,7 @@ class RadioHalo:
def _set_configs(self):
comp = "extragalactic/halos"
- self.eta_turb = self.configs.getn(comp+"/eta_turb")
+ self.beta_turb = self.configs.getn(comp+"/beta_turb")
self.eta_e = self.configs.getn(comp+"/eta_e")
self.gamma_min = self.configs.getn(comp+"/gamma_min")
self.gamma_max = self.configs.getn(comp+"/gamma_max")
@@ -327,7 +327,7 @@ class RadioHalo:
A reference value of the acceleration time due to TTD
(transit-time damping) resonance is ~0.1 Gyr (Ref.[brunetti2011],
Eq.(27) below); the formula derived by [cassano2005] (Eq.(40))
- has a dependence on ``eta_turb``.
+ has a dependence on ``beta_turb``.
NOTE
----
@@ -348,7 +348,7 @@ class RadioHalo:
if t > self.age_merger + self.time_crossing:
tau = tau_max
else:
- tau = tau_ref / self.eta_turb
+ tau = tau_ref / self.beta_turb
return tau
@property