From 84d73b2faebc139be8842510ef71552a39f2165d 2012-09-05 13:36:56 From: Miguel Valdez Date: 2012-09-05 13:36:56 Subject: [PATCH] Bug en el calculo del numero de integraciones incoherentes --- diff --git a/schainpy/Processing/SpectraProcessor.py b/schainpy/Processing/SpectraProcessor.py index 76bb241..4046367 100644 --- a/schainpy/Processing/SpectraProcessor.py +++ b/schainpy/Processing/SpectraProcessor.py @@ -73,7 +73,7 @@ class SpectraProcessor: self.writerObjList = [] self.plotterObjList = [] - self.noiseObj = Noise() + self.noiseObj = None self.buffer = None self.profIndex = 0 @@ -331,7 +331,7 @@ class SpectraProcessor: if myIncohIntObj.isReady: self.dataOutObj.data_spc = myIncohIntObj.data self.dataOutObj.nAvg = myIncohIntObj.navg - self.dataOutObj.m_ProcessingHeader.incoherentInt *= myIncohIntObj.navg + self.dataOutObj.m_ProcessingHeader.incoherentInt = self.dataInObj.m_ProcessingHeader.incoherentInt*myIncohIntObj.navg #print "myIncohIntObj.navg: ",myIncohIntObj.navg self.dataOutObj.flagNoData = False