##// END OF EJS Templates
Bug when cspc data doesn't have all pairs...
Juan C. Espinoza -
r1162:8e271e9ed53c
parent child
Show More
@@ -122,10 +122,10 class SpectraProc(ProcessingUnit):
122
122
123 if self.dataIn.type == "Spectra":
123 if self.dataIn.type == "Spectra":
124 self.dataOut.copy(self.dataIn)
124 self.dataOut.copy(self.dataIn)
125 if not pairsList:
125 # if not pairsList:
126 pairsList = itertools.combinations(self.dataOut.channelList, 2)
126 # pairsList = itertools.combinations(self.dataOut.channelList, 2)
127 if self.dataOut.data_cspc is not None:
127 # if self.dataOut.data_cspc is not None:
128 self.__selectPairs(pairsList)
128 # self.__selectPairs(pairsList)
129 if shift_fft:
129 if shift_fft:
130 #desplaza a la derecha en el eje 2 determinadas posiciones
130 #desplaza a la derecha en el eje 2 determinadas posiciones
131 shift = int(self.dataOut.nFFTPoints/2)
131 shift = int(self.dataOut.nFFTPoints/2)
General Comments 0
You need to be logged in to leave comments. Login now