diff --git a/electrode_check.py b/electrode_check.py index 77d19e9..f04fc19 100644 --- a/electrode_check.py +++ b/electrode_check.py @@ -323,7 +323,6 @@ def main(): max = np.max(np.hstack(channel_data)) min = np.min(np.hstack(channel_data)) if init_fig == True: - print('init') for ch in channel_array: h, = ax[ch].plot(np.arange(250)[:len(channel_data[ch])] / rate, channel_data[ch], color='k') ax[ch].set_ylim(min, max) @@ -331,11 +330,11 @@ def main(): plt.show(block=False) init_fig = False else: - print('update') for ch in channel_array: channel_handle[ch].set_data(np.arange(250)[:len(channel_data[ch])] / rate, channel_data[ch]) fig.canvas.draw() + # np.array(data[last_idx:], dtype=np.float32).tofile(f) # np.array(data[:index], dtype=np.float32).tofile(f)