How to know whether (t)SSS was applied, and which channels were interpolated?

  • MNE version: 0.24.1
  • operating system: macOS Monterey and Ubuntu Linux 18.04 LTS

Hello,

I wanted to ask if there exists a reliable and user-friendly way to figure out

  • whether (temporal) SSS (either via MaxFilter or MNEā€™s built-in Maxwell filtering) has been applied to a Raw instance?
  • which channels (if any) have been interpolated during this procedure?
  • which (t)SSS parameters were used?

Iā€™m working with Elekta NeuroMag MEG data from @sophie.

I do remember there was some heuristic I could use based on the Info structure, but a) I donā€™t remember it anymore and b) I never got the impression this was really meant to be a user-visible thing ā€“ but I might be mistaken here.

Thanks,

Richard

cc @agramfort @larsoner

1 Like

Would it not even make sense to have this information easily available in the info, like the the filters, sampling frequency, baselineā€¦? So we know the history of the file.

itā€™s already there. See eg:

In [1]: import mne
In [2]: raw = mne.io.read_raw(ā€˜sub-01_task-somato_meg.fifā€™)
In [3]: raw.info[ā€˜proc_historyā€™]

Alex

Thanks @agramfort! But this doesnā€™t seem to contain info about channel interpolations, right?

it stores stuff done with maxwell_filter thatā€™s it

but yes we could use this proc_info for more stuff

A

1 Like

Yes, Iā€™m asking because Maxwell filtering interpolates bad channels too :slight_smile:

But nice if you believe we could use this structure for more stuff, maybe we can discuss this during tomorrowā€™s dev meeting?