From d8143b2ba2de88bd76bfb4375fea2a8b77d3b31f Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Wed, 27 Feb 2019 16:41:13 +0800 Subject: clusters/halo: Update the spectral index calculation Calculate the spectral index with a frequency separation of the width of 0.1 times the frequency value, instead of a fixed separation of 10 MHz. --- fg21sim/extragalactic/clusters/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'fg21sim/extragalactic/clusters') 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)) -- cgit v1.2.2