pyavs.setup_coregistration

pyavs.setup_coregistration(subject: str, subjects_dir: str, raw: mne.io.Raw, fiducials: str = 'auto', verbose: bool = True) mne.transforms.Transform[source]

Set up coregistration between MEG and MRI coordinate systems.

Parameters:
  • subject (str) – Subject name in FreeSurfer subjects directory

  • subjects_dir (str) – Path to FreeSurfer subjects directory

  • raw (mne.io.Raw) – MEG raw data

  • fiducials (str, optional) – How to handle fiducials (default: ‘auto’)

  • verbose (bool, optional) – Whether to print progress information (default: True)

Returns:

Head-to-MRI transformation

Return type:

mne.transforms.Transform