@@ -354,16 +354,12 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()) |
|
357 | self.data_web[plottype] = roundFloats(decimate(self.data[plottype][t]).tolist()) | |
359 | self.data_web['timestamp'] = t |
|
358 | self.data_web['timestamp'] = t | |
360 | ======= |
|
|||
361 | if plottype == 'spc': |
|
359 | if plottype == 'spc': | |
362 | self.data_web[plottype] = roundFloats(decimate(self.data[plottype]).tolist()) |
|
360 | self.data_web[plottype] = roundFloats(decimate(self.data[plottype]).tolist()) | |
363 | else: |
|
361 | else: | |
364 | self.data_web[plottype] = roundFloats(decimate(self.data[plottype][t]).tolist()) |
|
362 | 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() |
|
363 | self.data_web['interval'] = self.dataOut.getTimeInterval() | |
368 | self.data_web['type'] = plottype |
|
364 | self.data_web['type'] = plottype | |
369 |
|
365 | |||
@@ -421,11 +417,7 class ReceiverData(ProcessingUnit, Process): | |||||
421 | else: |
|
417 | else: | |
422 | conf_address = self.plot_address + '.config' |
|
418 | conf_address = self.plot_address + '.config' | |
423 | sender_web_config.bind(conf_address) |
|
419 | sender_web_config.bind(conf_address) | |
424 | <<<<<<< HEAD |
|
|||
425 |
|
||||
426 | ======= |
|
|||
427 | time.sleep(1) |
|
420 | time.sleep(1) | |
428 | >>>>>>> f65929d2cf32d4dddb2d5fa2a72f3970d4d51812 |
|
|||
429 | for kwargs in self.operationKwargs.values(): |
|
421 | for kwargs in self.operationKwargs.values(): | |
430 | if 'plot' in kwargs: |
|
422 | if 'plot' in kwargs: | |
431 | print '[Sending] Config data to web for {}'.format(kwargs['code'].upper()) |
|
423 | 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