diff options
-rw-r--r-- | fg21sim/extragalactic/clusters/halo.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fg21sim/extragalactic/clusters/halo.py b/fg21sim/extragalactic/clusters/halo.py index 6cde5ca..e3521fe 100644 --- a/fg21sim/extragalactic/clusters/halo.py +++ b/fg21sim/extragalactic/clusters/halo.py @@ -951,11 +951,6 @@ class RadioHaloAM(RadioHalo1M): idx = spec_diff > 0 spec = np.array(spec_ref) spec[idx] += spec_diff[idx] * (r/r_max)**3 - - d = helper.density_number_electron(spec, self.gamma) - d_in = helper.density_number_electron(spec_in, self.gamma) - spec *= d_in / d - return spec def calc_electron_spectrum(self, tstart=None, tstop=None, n0_e=None, |