Skip to content

Add native save and read functionality to SSD and SPoC objects #13328

Description

@tsbinns

Describe the new feature or enhancement

Requested in https://mne.discourse.group/t/no-feature-to-save-an-mne-decoding-ssd-spoc-object/11367

In summary, there is no native option to save and read SSD and SPoC objects. This would be useful to avoid having to re-compute filters over different sessions, like what can be done for ICA filters.

A current workaround is to just pickle the objects, but having this functionality directly in MNE would be useful.

Describe your proposed implementation

Follow the ICA structure with a save() method for saving SSD/SPoC objects and a decoding.read_ssd/spoc() function for loading the saved objects.

Describe possible alternatives

N/A

Additional context

No response

Activity

  1. larsoner commented on Jul 17, 2025

    @larsoner
    Member

    Sounds reasonable to me!

  2. Anushreebasics commented on Jan 13, 2026

    @Anushreebasics

    @tsbinns are you still working on this or can I take this up?

  3. tsbinns commented on Jan 13, 2026

    @tsbinns
    ContributorAuthor

    @Anushreebasics I have not been working on this. You're welcome to pick it up!

  4. tsbinns commented on Mar 3, 2026

    @tsbinns
    ContributorAuthor

    Have since realised that with the switch to a lot of these decomposition methods using the _GEDTransform parent class, extending this functionality to CSP and XdawnTransformer would be trivial.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions