aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fg21sim/extragalactic/clusters/main.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/fg21sim/extragalactic/clusters/main.py b/fg21sim/extragalactic/clusters/main.py
index 994e0f3..e26b07f 100644
--- a/fg21sim/extragalactic/clusters/main.py
+++ b/fg21sim/extragalactic/clusters/main.py
@@ -375,8 +375,7 @@ class GalaxyClusters:
Tb_mean = haloem.calc_brightness_mean(
freq, flux=flux, pixelsize=self.sky.pixelsize)
- # Calculate spectral index with a narrow (10 MHz) band
- freq2 = freq + 10
+ freq2 = freq - freq*0.1
em2 = haloem.calc_emissivity(freq2)
index = -(np.log(em2)-np.log(em)) / (np.log(freq2)-np.log(freq))