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:
- montage
mne.channels.DigMontage The montage in the “mri” coordinate frame. Note: modified in place.
- subject
str The FreeSurfer subject name.
- subjects_dirpath-like |
None The path to the directory containing the FreeSurfer subjects reconstructions. If
None, defaults to theSUBJECTS_DIRenvironment variable.- verbose
bool|str|int|None Control verbosity of the logging output. If
None, use the default verbosity level. See the logging documentation andmne.verbose()for details. Should only be passed as a keyword argument.
- montage