diff options
Diffstat (limited to 'fg21sim')
-rw-r--r-- | fg21sim/galactic/synchrotron.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fg21sim/galactic/synchrotron.py b/fg21sim/galactic/synchrotron.py index 96f4df1..5881c4c 100644 --- a/fg21sim/galactic/synchrotron.py +++ b/fg21sim/galactic/synchrotron.py @@ -223,7 +223,8 @@ class Synchrotron: logger.info("Simulating {name} map at {freq} ({unit}) ...".format( name=self.name, freq=frequency, unit=self.freq_unit)) skymap_f = (self.template.data * - (frequency / self.template_freq) ** self.indexmap.data) + (frequency/self.template_freq) ** + (-np.abs(self.indexmap.data))) # if self.save: filepath = self.output(skymap_f, frequency) |