Skip to content

Error: read_source_spaces #16

@sivyobe

Description

@sivyobe

Hello,
I try to read in matlab (with the mne-matlab tool) a source created in MNE-python with the additional information of patch.
I use in python the command mne.setup_source_space(sj, fname=True, spacing='ico4', subject_dir=<my_path>, add_dist=True), followed by mne.write_source_spaces(...) to have the fif file with patch information.
But when I read the file in matlab there isn't any information about the patch, i.e. the values nearest, nearest_info, pinfo, dist and dist_limit are empty.

Then I try to rewrite the file using one more step in python:
mne.read_source_spaces(..., patch_stats=True, ...) followed by mne.write_source_spaces(...)
and in this case when I try to read the fif file in matlab an error was reported:

Error using fiff_read_tag (line 178)
Only two and three dimensional matrices are supported at this time

How can I solve the problem? Because I need the patch information for my work at this step in matlab.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions