@@ -142,7 +142,7 class SpectraProc(ProcessingUnit): | |||||
142 | if self.dataIn.flagDataAsBlock: |
|
142 | if self.dataIn.flagDataAsBlock: | |
143 | #data dimension: [nChannels, nProfiles, nSamples] |
|
143 | #data dimension: [nChannels, nProfiles, nSamples] | |
144 | nVoltProfiles = self.dataIn.data.shape[1] |
|
144 | nVoltProfiles = self.dataIn.data.shape[1] | |
145 | # nVoltProfiles = self.dataIn.nProfiles |
|
145 | # nVoltProfiles = self.dataIn.nProfiles | |
146 |
|
146 | |||
147 | if nVoltProfiles == nProfiles: |
|
147 | if nVoltProfiles == nProfiles: | |
148 | self.buffer = self.dataIn.data.copy() |
|
148 | self.buffer = self.dataIn.data.copy() | |
@@ -197,7 +197,6 class SpectraProc(ProcessingUnit): | |||||
197 |
|
197 | |||
198 | self.dataOut.data_cspc = self.dataOut.data_cspc[pairsIndex] |
|
198 | self.dataOut.data_cspc = self.dataOut.data_cspc[pairsIndex] | |
199 | self.dataOut.pairsList = pairs |
|
199 | self.dataOut.pairsList = pairs | |
200 | self.dataOut.pairsIndexList = pairsIndex |
|
|||
201 |
|
200 | |||
202 | return |
|
201 | return | |
203 |
|
202 |
General Comments 0
You need to be logged in to leave comments.
Login now