@@ -156,6 +156,8 class ScopePlot(Plot): | |||||
156 | thisDatetime = datetime.datetime.utcfromtimestamp(self.data.times[-1]) |
|
156 | thisDatetime = datetime.datetime.utcfromtimestamp(self.data.times[-1]) | |
157 | if self.CODE == "pp_power": |
|
157 | if self.CODE == "pp_power": | |
158 | scope = self.data['pp_power'] |
|
158 | scope = self.data['pp_power'] | |
|
159 | elif self.CODE == "pp_signal": | |||
|
160 | scope = self.data["pp_signal"] | |||
159 | elif self.CODE == "pp_velocity": |
|
161 | elif self.CODE == "pp_velocity": | |
160 | scope = self.data["pp_velocity"] |
|
162 | scope = self.data["pp_velocity"] | |
161 | elif self.CODE == "pp_specwidth": |
|
163 | elif self.CODE == "pp_specwidth": | |
@@ -191,6 +193,13 class ScopePlot(Plot): | |||||
191 | thisDatetime, |
|
193 | thisDatetime, | |
192 | wintitle |
|
194 | wintitle | |
193 | ) |
|
195 | ) | |
|
196 | if self.CODE=="pp_signal": | |||
|
197 | self.plot_weatherpower(self.data.heights, | |||
|
198 | scope[:,i,:], | |||
|
199 | channels, | |||
|
200 | thisDatetime, | |||
|
201 | wintitle | |||
|
202 | ) | |||
194 | if self.CODE=="pp_velocity": |
|
203 | if self.CODE=="pp_velocity": | |
195 | self.plot_weathervelocity(scope[:,i,:], |
|
204 | self.plot_weathervelocity(scope[:,i,:], | |
196 | self.data.heights, |
|
205 | self.data.heights, | |
@@ -230,6 +239,13 class ScopePlot(Plot): | |||||
230 | thisDatetime, |
|
239 | thisDatetime, | |
231 | wintitle |
|
240 | wintitle | |
232 | ) |
|
241 | ) | |
|
242 | if self.CODE=="pp_signal": | |||
|
243 | self.plot_weatherpower(self.data.heights, | |||
|
244 | scope, | |||
|
245 | channels, | |||
|
246 | thisDatetime, | |||
|
247 | wintitle | |||
|
248 | ) | |||
233 | if self.CODE=="pp_velocity": |
|
249 | if self.CODE=="pp_velocity": | |
234 | self.plot_weathervelocity(scope, |
|
250 | self.plot_weathervelocity(scope, | |
235 | self.data.heights, |
|
251 | self.data.heights, | |
@@ -249,7 +265,7 class ScopePlot(Plot): | |||||
249 |
|
265 | |||
250 | class PulsepairPowerPlot(ScopePlot): |
|
266 | class PulsepairPowerPlot(ScopePlot): | |
251 | ''' |
|
267 | ''' | |
252 | Plot for |
|
268 | Plot for P= S+N | |
253 | ''' |
|
269 | ''' | |
254 |
|
270 | |||
255 | CODE = 'pp_power' |
|
271 | CODE = 'pp_power' | |
@@ -259,7 +275,7 class PulsepairPowerPlot(ScopePlot): | |||||
259 |
|
275 | |||
260 | class PulsepairVelocityPlot(ScopePlot): |
|
276 | class PulsepairVelocityPlot(ScopePlot): | |
261 | ''' |
|
277 | ''' | |
262 | Plot for |
|
278 | Plot for VELOCITY | |
263 | ''' |
|
279 | ''' | |
264 | CODE = 'pp_velocity' |
|
280 | CODE = 'pp_velocity' | |
265 | plot_name = 'PulsepairVelocity' |
|
281 | plot_name = 'PulsepairVelocity' | |
@@ -268,9 +284,19 class PulsepairVelocityPlot(ScopePlot): | |||||
268 |
|
284 | |||
269 | class PulsepairSpecwidthPlot(ScopePlot): |
|
285 | class PulsepairSpecwidthPlot(ScopePlot): | |
270 | ''' |
|
286 | ''' | |
271 | Plot for |
|
287 | Plot for WIDTH | |
272 | ''' |
|
288 | ''' | |
273 | CODE = 'pp_specwidth' |
|
289 | CODE = 'pp_specwidth' | |
274 | plot_name = 'PulsepairSpecwidth' |
|
290 | plot_name = 'PulsepairSpecwidth' | |
275 | plot_type = 'scatter' |
|
291 | plot_type = 'scatter' | |
276 | buffering = False |
|
292 | buffering = False | |
|
293 | ||||
|
294 | class PulsepairSignalPlot(ScopePlot): | |||
|
295 | ''' | |||
|
296 | Plot for S | |||
|
297 | ''' | |||
|
298 | ||||
|
299 | CODE = 'pp_signal' | |||
|
300 | plot_name = 'PulsepairSignal' | |||
|
301 | plot_type = 'scatter' | |||
|
302 | buffering = False |
General Comments 0
You need to be logged in to leave comments.
Login now