From 3c2fd299675191fa4b19628ec60eacf23351fab8 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Tue, 21 Dec 2021 22:04:06 -0500 Subject: simplified timestamping --- examples/lock_eit.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/examples/lock_eit.py b/examples/lock_eit.py index eeb6d95..3d77e68 100644 --- a/examples/lock_eit.py +++ b/examples/lock_eit.py @@ -36,42 +36,37 @@ def initLog(): errorTrace.config['unit']='V' timeTrace = Trace("time") timeTrace.config['unit']='S' + timeTrace.config['type'] = 'timestamp' errorLog = TraceXY("error") - errorLog.config['type'] = 'timestamp' errorLog.x = timeTrace errorLog.y = errorTrace freqTrace = Trace("frequency") freqTrace.config['unit']='Hz' freqLog = TraceXY("frequency") - freqLog.config['type'] = 'timestamp' freqLog.x = timeTrace freqLog.y = freqTrace feedbackTrace = Trace("feedback") feedbackTrace.config['unit']='Hz' feedbackLog = TraceXY("feedback") - feedbackLog.config['type'] = 'timestamp' feedbackLog.x = timeTrace feedbackLog.y = feedbackTrace eitTrace = Trace("eit") eitTrace.config['unit']='V' eitLog = TraceXY("eit") - eitLog.config['type'] = 'timestamp' eitLog.x = timeTrace eitLog.y = eitTrace rfPoutTrace = Trace("rfPout") rfPoutTrace.config['unit']='dBm' rfPoutLog = TraceXY("rfPout") - rfPoutLog.config['type'] = 'timestamp' rfPoutLog.x = timeTrace rfPoutLog.y = rfPoutTrace log = TraceSetSameX("timelog") - log.config['type'] = 'timestamp' log.addTrace(errorLog) log.addTrace(freqLog) log.addTrace(feedbackLog) -- cgit v1.2.3