mne_bids.update_anat_landmarks¶
- mne_bids.update_anat_landmarks(bids_path, landmarks)[source]¶
Update the anatomical landmark coordinates of an MRI scan.
This will change the
AnatomicalLandmarkCoordinatesentry in the respective JSON sidecar file, or create it if it doesn’t exist.- Parameters
- bids_path
mne_bids.BIDSPath Path of the MR image.
- landmarks
mne.channels.DigMontage An
mne.channels.DigMontageinstance with coordinates for the nasion and left and right pre-auricular points in MRI voxel coordinates.Note
mne_bids.get_anat_landmarks()provides a convenient and reliable way to generate the landmark coordinates in the required coordinate system.
- bids_path
Notes
New in version 0.8.