##// END OF EJS Templates
Se agregó la opción de shift al calcular la transformada de Fourier
Miguel Valdez -
r74:2ede70f6309a
parent child
Show More
@@ -75,6 +75,7 class SpectraProcessor:
75 75 self.spectraOutObj.flagNoData = True
76 76 if self.ptsId >= self.spectraOutObj.nPoints:
77 77 data_spc = numpy.fft.fft(self.buffer,axis=1)
78 data_spc = numpy.fft.fftshift(data_spc,axes=1)
78 79 self.ptsId = 0
79 80 self.buffer = None
80 81
@@ -167,7 +168,6 class IncoherentIntegration:
167 168 self.nIncohInt = N
168 169
169 170 def exe(self,data):
170 print 'intg:', self.profCounter
171 171
172 172 if self.buffer == None:
173 173 self.buffer = data
General Comments 0
You need to be logged in to leave comments. Login now