mne_bids.convert_montage_to_ras(montage, subject, subjects_dir=None, verbose=None)[source]#

Convert a montage from surface RAS (m) to scanner RAS (m).


The montage in the “mri” coordinate frame. Note: modified in place.


The FreeSurfer subject name.

subjects_dirpath-like | None

The path to the directory containing the FreeSurfer subjects reconstructions. If None, defaults to the SUBJECTS_DIR environment variable.

verbosebool | str | int | None

Control verbosity of the logging output. If None, use the default verbosity level. See the logging documentation and mne.verbose() for details. Should only be passed as a keyword argument.

Examples using mne_bids.convert_montage_to_ras#

08. Convert iEEG data to BIDS format

08. Convert iEEG data to BIDS format