meegpype.interfaces.mne.coreg module🔗

class meegpype.interfaces.mne.coreg.MakeCoreg(from_file=None, resource_monitor=None, ignore_exception=False, **inputs)🔗

Bases: BaseInterface

Mandatory Inputs:
  • fname (a string or os.PathLike object) – Output file name. Use a name <dir>/<name>-trans.fif.

  • info (a string or os.PathLike object referring to an existing file) – Path to a file with measurement information.

  • subject (a string) – Subject name (required).

  • subjects_dir (a pathlike object or string representing an existing directory) – Subjects directory.

Optional Inputs:
  • distance (a float) – Exclude all points that are further away from the MRI head than this distance (in m.)A value of distance <= 0 excludes nothing.

  • eeg_weight (a float) – Relative weight for EEG. The default value is 1.

  • fiducials (a string or os.PathLike object referring to an existing file) – File path to fif file containing the fiducials.If’ no set, the fiducials are derived from the fsaverage template.

  • hpi_weight (a float) – Relative weight for HPI. The default value is 1.

  • hsp_weight (a float) – Relative weight for HSP. The default value is 1.

  • lpa_weight (a float) – Relative weight for LPA. The default value is 1.

  • n_iterations (an integer) – Maximum number of iterations for ICP fitting.

  • nasion_weight (a float) – Relative weight for nation. The default value is 10.

  • overwrite (a boolean) – Overwrite existing files.

  • rpa_weight (a float) – Relative weight for RPA. The default value is 1.

  • verbose (a boolean) – Enable verbose mode (printing of log messages).

Outputs:

trans (a pathlike object or string representing an existing file) – The trans file.