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