@@ -44,7 +44,8 class SpectraPlot(Plot): | |||
|
44 | 44 | data['spc'] = spc |
|
45 | 45 | data['rti'] = dataOut.getPower() |
|
46 | 46 | data['noise'] = 10 * numpy.log10(dataOut.getNoise() / dataOut.normFactor) |
|
47 |
extrapoints = spc.shape[1] % dataOut.nFFTPoints |
|
|
47 | extrapoints = spc.shape[1] % dataOut.nFFTPoints | |
|
48 | extrapoints=1 | |
|
48 | 49 | meta['xrange'] = (dataOut.getFreqRange(extrapoints) / 1000., dataOut.getAcfRange(extrapoints), dataOut.getVelRange(extrapoints)) |
|
49 | 50 | if self.CODE == 'spc_moments': |
|
50 | 51 | data['moments'] = dataOut.moments |
@@ -70,7 +71,7 class SpectraPlot(Plot): | |||
|
70 | 71 | self.xlabel = "Velocity (m/s)" |
|
71 | 72 | |
|
72 | 73 | self.titles = [] |
|
73 | ||
|
74 | ||
|
74 | 75 | y = self.data.yrange |
|
75 | 76 | self.y = y |
|
76 | 77 |
General Comments 0
You need to be logged in to leave comments.
Login now