import os.path as op
import subprocess
import mne
from mne.viz import plot_events
from mne.utils import running_subprocess
from mne_realtime import FieldTripClient, RtEpochs
info = mne.io.read_info('<myEEGFileInEDFFormat')
event_id, tmin, tmax = 1, -0.2, 0.5
with FieldTripClient(host='localhost', port=1972,tmax=40, wait_max=5, info=info) as rt_client:
rt_epochs = RtEpochs(rt_client, event_id, tmin, tmax, proj=None)
rt_epochs.start()
for ev in rt_epochs.iter_evoked():
epoch_data = ev.data
#mne.io.raw.plot(show=True,block=True,show_options=False,theme='dark',title=None,proj=False)
print(epoch_data)
rt_epochs.stop()
I don't want to plot using matplotlib, any snippet on plot using PyQtGraph(MNEQtBrowser) ?
I don't want to plot using matplotlib, any snippet on plot using PyQtGraph(MNEQtBrowser) ?