@@ -44,7 +44,6 class SpectraProc(ProcessingUnit): | |||
|
44 | 44 | except: |
|
45 | 45 | pass |
|
46 | 46 | self.dataOut.radarControllerHeaderObj = self.dataIn.radarControllerHeaderObj.copy() |
|
47 | ||
|
48 | 47 | self.dataOut.systemHeaderObj = self.dataIn.systemHeaderObj.copy() |
|
49 | 48 | self.dataOut.channelList = self.dataIn.channelList |
|
50 | 49 | self.dataOut.heightList = self.dataIn.heightList |
@@ -130,6 +129,8 class SpectraProc(ProcessingUnit): | |||
|
130 | 129 | if self.dataOut.data_cspc is not None: |
|
131 | 130 | #desplaza a la derecha en el eje 2 determinadas posiciones |
|
132 | 131 | self.dataOut.data_cspc = numpy.roll(self.dataOut.data_cspc, shift, axis=1) |
|
132 | if pairsList: | |
|
133 | self.__selectPairs(pairsList) | |
|
133 | 134 | |
|
134 | 135 | elif self.dataIn.type == "Voltage": |
|
135 | 136 | |
@@ -185,8 +186,9 class SpectraProc(ProcessingUnit): | |||
|
185 | 186 | self.__updateSpecFromVoltage() |
|
186 | 187 | if pairsList == None: |
|
187 | 188 | self.dataOut.pairsList = [pair for pair in itertools.combinations(self.dataOut.channelList, 2)] |
|
189 | else: | |
|
190 | self.dataOut.pairsList = pairsList | |
|
188 | 191 | self.__getFft() |
|
189 | ||
|
190 | 192 | self.dataOut.flagNoData = False |
|
191 | 193 | self.firstdatatime = None |
|
192 | 194 | self.profIndex = 0 |
General Comments 0
You need to be logged in to leave comments.
Login now