diff --git a/Cattery/Meow/PointSource.py b/Cattery/Meow/PointSource.py index efb844c..aad0c85 100644 --- a/Cattery/Meow/PointSource.py +++ b/Cattery/Meow/PointSource.py @@ -148,7 +148,7 @@ def norm_spectrum (self): nsp << Meq.Pow(fr,self._parm('spi')); else: # multi-term spectral index - logfr = self.ns.logfreqratio << Meq.Log(fr); + logfr = self.ns.logfreqratio << Meq.Log(fr)/math.log(10); nsp << Meq.Pow(fr,Meq.Add(self._parm('spi'),self._parm('spi_2')*logfr, *[ self._parm('spi_%d'%(i+1))*Meq.Pow(logfr,i) for i in range(2,self._nspi)] )); return nsp;