meegpype.interfaces.mne.forward moduleπ
- class meegpype.interfaces.mne.forward.MakeForwardSolution(from_file=None, resource_monitor=None, ignore_exception=False, **inputs)π
Bases:
BaseInterface- Mandatory Inputs:
bem (a string or os.PathLike object referring to an existing file) β Filename of the BEM.
fname (a string or os.PathLike object) β Output file name. Use a name <dir>/<name>-fwd.fif.
info (a string or os.PathLike object referring to an existing file) β Path to a file with measurement information.
src (a string or os.PathLike object referring to an existing file) β A path to a source space file.
trans (a string or os.PathLike object referring to an existing file or a legal value) β The path to the head<->MRI transform
*-trans.fiffile produced during coregistration. Can also be βfsaverageβ to use the built-in fsaverage transformation. If trans is None, an identity matrix is assumed.
- Optional Inputs:
eeg (a boolean) β If True (default), include EEG computations.
ignore_ref (a boolean) β If True, do not include reference channels in compensation. This option should be True for KIT files, since forward computation with reference channels is not currently supported.
meg (a boolean) β If True (default), include MEG computations.
mindist (a float) β Minimum distance of sources from inner skull surface (in mm).
n_jobs (an integer) β The number of jobs to run in parallel. If -1, it is set to the number of CPU cores.
overwrite (a boolean) β Overwrite existing files.
verbose (a boolean) β Enable verbose mode (printing of log messages).
- Outputs:
forward (a pathlike object or string representing an existing file) β The forward solution.