No feature to save an MNE.decoding.SSD/SPoC object?

pull requests should go against the main MNE-Python repository: GitHub - mne-tools/mne-python: MNE: Magnetoencephalography (MEG) and Electroencephalography (EEG) in Python

The change would go in mne/decoding/ssd.py and mne/decoding/csp.py; you can use __getstate__ and __setstate__ definitions from mne/time_frequency/tfr.py (mne/label.py also has examples) as inspiration. Will need to add or update some tests too, to make sure the save/load round-trip preserves all the relevant information.

2 Likes