Reject epochs based on peak-to-peak signal amplitude (PTP) of EMG

  • MNE-Python version: 0.23.0
  • operating system: windows

To create a MNE Epochs, the valid keys for ‘reject’ are: 'grad' , 'mag' , 'eeg' , 'eog' , and 'ecg' . Do you consider add ‘emg’ to the list?

yes we could. Can you open a PR to add better support for EMG signals?

Alex

Hello @GanshengT and welcome to the forum!

Or you could open an issue with this feature request :slight_smile: Sign in to GitHub · GitHub

I’ve opened the feature request for you:

Now only somebody needs to volunteer and implement this :slight_smile:

Thank you all! I would need a closer look at mne functions before opening a PR.

@GanshengT Could you have a look at my reply on the github issue? I feel like this is already implemented and you probably just forgot to add 'emg' to the picks argument of mne.Epochs.

My apologies for the slow reply. And yes, it is implemented.