diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2021-03-22 13:55:32 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2021-03-22 13:55:32 +0100 |
commit | ab7cf7df4554255df5c9c4e94f6006287fc73f78 (patch) | |
tree | c857bf191a81d8521c35e21af3394479215bfb5f | |
parent | 93054a5dbf0bec19c06aeeaf1114459d57ff76aa (diff) |
loader/generic: update sync plot
-rw-r--r-- | lib/loader/generic.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/loader/generic.py b/lib/loader/generic.py index a34f486..984cf06 100644 --- a/lib/loader/generic.py +++ b/lib/loader/generic.py @@ -68,7 +68,6 @@ class ExternalTimerSync: sync_end = low_ts sync_timestamps.append((sync_start, sync_end)) sync_start = None - print(sync_timestamps) if len(sync_timestamps) != 3: self.errors.append( @@ -256,10 +255,10 @@ class ExternalTimerSync: data.append(ts) a = np.empty((len(data),)) - a[0::4] = min_value - a[1::4] = max_value - a[2::4] = max_value - a[3::4] = min_value + a[0::4] = max_value + a[1::4] = min_value + a[2::4] = min_value + a[3::4] = max_value return data, a # plotting by columns import matplotlib.pyplot as plt |