Replies: 1 comment 10 replies
-
MNE Raw data also works with YASA spindle_detect or sw_detect methods. For example see here: yasa.spindles_detect(data, sf, ch_names=chan, multi_only=True, remove_outliers=True) Here data is MNE raw date object I am posting an example code below from my notebooks: raws_c3 = raw.pick_channels(['C3']) |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In this example (https://github.com/raphaelvallat/yasa/blob/master/notebooks/01_spindles_detection.ipynb), you can see the plotting using the txt file. But in Yasa, I wonder if there is a function to extract EEG every 30 seconds or if there is something to extract from mne.
data_N3_no-spindles_30sec_100Hz.txt
Beta Was this translation helpful? Give feedback.
All reactions