@@ -207,7 +207,7 class VoltageProc(ProcessingUnit): | |||
|
207 | 207 | return 1 |
|
208 | 208 | |
|
209 | 209 | |
|
210 |
def filterByHeights(self, window, axis= |
|
|
210 | def filterByHeights(self, window, axis=2): | |
|
211 | 211 | |
|
212 | 212 | deltaHeight = self.dataOut.heightList[1] - self.dataOut.heightList[0] |
|
213 | 213 | |
@@ -222,7 +222,7 class VoltageProc(ProcessingUnit): | |||
|
222 | 222 | Si la data es obtenida por bloques, dimension = [nChannels, nProfiles, nHeis] |
|
223 | 223 | """ |
|
224 | 224 | buffer = self.dataOut.data[:, :, 0:self.dataOut.nHeights-r] |
|
225 |
buffer = buffer.reshape(self.dataOut.nChannels,self.dataOut.n |
|
|
225 | buffer = buffer.reshape(self.dataOut.nChannels,self.dataOut.nProfiles,self.dataOut.nHeights/window,window) | |
|
226 | 226 | buffer = numpy.sum(buffer,3) |
|
227 | 227 | |
|
228 | 228 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now