@@ -75,6 +75,7 class SpectraProcessor: | |||||
75 | self.spectraOutObj.flagNoData = True |
|
75 | self.spectraOutObj.flagNoData = True | |
76 | if self.ptsId >= self.spectraOutObj.nPoints: |
|
76 | if self.ptsId >= self.spectraOutObj.nPoints: | |
77 | data_spc = numpy.fft.fft(self.buffer,axis=1) |
|
77 | data_spc = numpy.fft.fft(self.buffer,axis=1) | |
|
78 | data_spc = numpy.fft.fftshift(data_spc,axes=1) | |||
78 | self.ptsId = 0 |
|
79 | self.ptsId = 0 | |
79 | self.buffer = None |
|
80 | self.buffer = None | |
80 |
|
81 | |||
@@ -167,7 +168,6 class IncoherentIntegration: | |||||
167 | self.nIncohInt = N |
|
168 | self.nIncohInt = N | |
168 |
|
169 | |||
169 | def exe(self,data): |
|
170 | def exe(self,data): | |
170 | print 'intg:', self.profCounter |
|
|||
171 |
|
171 | |||
172 | if self.buffer == None: |
|
172 | if self.buffer == None: | |
173 | self.buffer = data |
|
173 | self.buffer = data |
General Comments 0
You need to be logged in to leave comments.
Login now