mne_bids.convert_montage_to_ras#
- 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). - Parameters:
- montagemne.channels.DigMontage
- The montage in the “mri” coordinate frame. Note: modified in place. 
- subjectstr
- The FreeSurfer subject name. 
- subjects_dirpath-like | None
- The path to the directory containing the FreeSurfer subjects reconstructions. If - None, defaults to the- SUBJECTS_DIRenvironment 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.
 
- montage
 
