@@ -354,16 +354,10 class ReceiverData(ProcessingUnit, Process): | |||||
354 | if plottype == 'phase': |
|
354 | if plottype == 'phase': | |
355 | self.data[plottype][t] = self.dataOut.getCoherence(phase=True) |
|
355 | self.data[plottype][t] = self.dataOut.getCoherence(phase=True) | |
356 | if self.realtime: |
|
356 | if self.realtime: | |
357 | <<<<<<< HEAD |
|
|||
358 | self.data_web[plottype] = roundFloats(decimate(self.data[plottype][t]).tolist()) |
|
|||
359 | self.data_web['timestamp'] = t |
|
|||
360 | ======= |
|
|||
361 | if plottype == 'spc': |
|
357 | if plottype == 'spc': | |
362 | self.data_web[plottype] = roundFloats(decimate(self.data[plottype]).tolist()) |
|
358 | self.data_web[plottype] = roundFloats(decimate(self.data[plottype]).tolist()) | |
363 | else: |
|
359 | else: | |
364 | self.data_web[plottype] = roundFloats(decimate(self.data[plottype][t]).tolist()) |
|
360 | self.data_web[plottype] = roundFloats(decimate(self.data[plottype][t]).tolist()) | |
365 | self.data_web['time'] = t |
|
|||
366 | >>>>>>> f65929d2cf32d4dddb2d5fa2a72f3970d4d51812 |
|
|||
367 | self.data_web['interval'] = self.dataOut.getTimeInterval() |
|
361 | self.data_web['interval'] = self.dataOut.getTimeInterval() | |
368 | self.data_web['type'] = plottype |
|
362 | self.data_web['type'] = plottype | |
369 |
|
363 | |||
@@ -420,11 +414,7 class ReceiverData(ProcessingUnit, Process): | |||||
420 | else: |
|
414 | else: | |
421 | conf_address = self.plot_address + '.config' |
|
415 | conf_address = self.plot_address + '.config' | |
422 | sender_web_config.bind(conf_address) |
|
416 | sender_web_config.bind(conf_address) | |
423 | <<<<<<< HEAD |
|
|||
424 |
|
||||
425 | ======= |
|
|||
426 | time.sleep(1) |
|
417 | time.sleep(1) | |
427 | >>>>>>> f65929d2cf32d4dddb2d5fa2a72f3970d4d51812 |
|
|||
428 | for kwargs in self.operationKwargs.values(): |
|
418 | for kwargs in self.operationKwargs.values(): | |
429 | if 'plot' in kwargs: |
|
419 | if 'plot' in kwargs: | |
430 | print '[Sending] Config data to web for {}'.format(kwargs['code'].upper()) |
|
420 | print '[Sending] Config data to web for {}'.format(kwargs['code'].upper()) |
General Comments 0
You need to be logged in to leave comments.
Login now