[dataio/sinus] refactoring

This commit is contained in:
wendtalexander 2024-10-11 14:08:58 +02:00
parent 7510d04f8d
commit 042826721b

View File

@ -1,8 +1,5 @@
from math import sin
import time
from PyQt6.QtGui import QAction
import numpy as np
import matplotlib.pyplot as plt
from IPython import embed
from pyrelacs.dataio.circbuffer import CircBuffer
from pyrelacs.util.logging import config_logging
@ -42,6 +39,7 @@ class SinProducer:
log.debug(f"duration sinus {end_time-start_time}")
log.debug(f"Stimulation time {t}")
log.debug(f"{self.buffer.totalcount()}")
# data = self.buffer.get_all()
# log.debug(data.shape[0])
# log.debug(data.shape[0] / self.buffer.samplerate)