##// END OF EJS Templates
Modifications for CrossSpectra plots bugs.
imanay -
r1767:959ccf3191c6
parent child
Show More
@@ -224,10 +224,10 class CrossSpectraPlot(Plot):
224 zmax_coh = None
224 zmax_coh = None
225 zmin_phase = None
225 zmin_phase = None
226 zmax_phase = None
226 zmax_phase = None
227
227
228 def setup(self):
228 def setup(self):
229
229
230 self.ncols = 4
230 self.ncols = 2
231 self.nplots = len(self.data.pairs) * 2
231 self.nplots = len(self.data.pairs) * 2
232 self.nrows = int((1.0 * self.nplots / self.ncols) + 0.9)
232 self.nrows = int((1.0 * self.nplots / self.ncols) + 0.9)
233 self.width = 3.1 * self.ncols
233 self.width = 3.1 * self.ncols
@@ -244,6 +244,7 class CrossSpectraPlot(Plot):
244 spc = dataOut.data_spc
244 spc = dataOut.data_spc
245 cspc = dataOut.data_cspc
245 cspc = dataOut.data_cspc
246 extrapoints = spc.shape[1] % dataOut.nFFTPoints
246 extrapoints = spc.shape[1] % dataOut.nFFTPoints
247 extrapoints=1
247 meta['xrange'] = (dataOut.getFreqRange(extrapoints) / 1000., dataOut.getAcfRange(extrapoints), dataOut.getVelRange(extrapoints))
248 meta['xrange'] = (dataOut.getFreqRange(extrapoints) / 1000., dataOut.getAcfRange(extrapoints), dataOut.getVelRange(extrapoints))
248 meta['pairs'] = dataOut.pairsList
249 meta['pairs'] = dataOut.pairsList
249
250
@@ -317,7 +318,7 class CrossSpectra4Plot(Plot):
317 zmax_coh = None
318 zmax_coh = None
318 zmin_phase = None
319 zmin_phase = None
319 zmax_phase = None
320 zmax_phase = None
320
321
321 def setup(self):
322 def setup(self):
322
323
323 self.ncols = 4
324 self.ncols = 4
General Comments 0
You need to be logged in to leave comments. Login now