Skip to content

Arbitrary default value of origin in mne.make_field_map #13390

@Mettphysik

Description

@Mettphysik

Proposed documentation enhancement

When creating a field map via mne.make_field_map (e.g. for evoked.plot_field() plots), it feels arbitrary that the default value of the "origin" parameter is (0.0, 0.0, 0.04), and it can result in inaccurate field maps.

Is there a reason why it is not set to "auto" or at least made a necessary input? The internal method _make_surface_mapping() in mne/forward/_field_interpolation.py has the same default value, but its documentation states that "auto" is the default value. So maybe it was supposed to be "auto" all along?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions