Automatic spotting of flux jumps on MEG data

External Email - Use Caution

Dear MNE community,

I am currently working on preprocessing an MEG dataset, and I want to indicate
the channels where flux jumps occur as 'bad', so that they do not spread to other
channels when performing maxwell filtering.

So far, I have not been able to find any pre-existing code that performs this task,
so I've started working from scratch on a method.

Are there established techniques to automatically detect flux jumps?

Best regards,
Merlin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200211/3cba4405/attachment.html

External Email - Use Caution

Hi Merlin,

Have a look at the following example:
https://mne.tools/stable/auto_examples/preprocessing/plot_otp.html#sphx-glr-auto-examples-preprocessing-plot-otp-py

Best,
Dip

External Email - Use Caution

You can also try autoreject:

https://autoreject.github.io/auto_examples/index.html

Or automatic bad channel detection in MaxFilter, or in a similar
implementation in this PR:

https://github.com/mne-tools/mne-python/pull/6940

Eric