Skip to content

Allow easy serialization of the object mne info  #13487

@bruAristimunha

Description

@bruAristimunha

Hey!

MNE.Info is an import object for raw objects, and according to the documentation, it is like an dictionary.

This attribute has a series of governance structures to ensure that we follow some standardization, which is great!

Even though it behaves like a dictionary, it's not exactly a dictionary. The only official way to save is by using .fiff, that this limits the transfer of that file into hub of file, such as hugging face. Ideally, we would save this as a JSON file/yaml file.

I have a question/proposal. Is there a simple way to serialize the MNE info object without individually selecting each field within the object? (This creates a lot of code re-built into each exact field.)

If it doesn't exist, does it make sense to make MNE info more serializable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions