meegpype.interfaces.mne.headsurf moduleπ
- class meegpype.interfaces.mne.headsurf.MakeHeadSurface(from_file=None, resource_monitor=None, ignore_exception=False, **inputs)π
Bases:
BaseInterface- Mandatory Inputs:
subject (a string) β Subject ID (required).
subjects_dir (a pathlike object or string representing an existing directory) β Subjects directory.
- Optional Inputs:
force (a boolean) β Force creation of the surface even if it has some topological defects.
mri (a string) β The MRI to use. Should exist in β$SUBJECTS_DIR/$SUBJECT/mriβ.
no_decimate (a boolean) β Disable the βmediumβ and βsparseβ decimations. In this case, only a βdenseβ surface will be generated.
overwrite (a boolean) β Overwrite existing files.
threshold (an integer) β The threshold to use with the MRI in the call to mkheadsurf. The default is 20.
verbose (a boolean) β Enable verbose mode (printing of log messages).
- Outputs:
head_dense (a string or os.PathLike object referring to an existing file) β High density head surface file.
subject (a string) β Subject ID.
subjects_dir (a pathlike object or string representing a directory) β Subjects directory.