groupmne.compute_fwd

groupmne.compute_fwd(subject, src_ref, info, trans_fname, bem_fname, meg=True, eeg=True, mindist=2, subjects_dir=None, n_jobs=1, verbose=None)[source]

Morph the source space of fsaverage to a subject.

Parameters
subjectstr

Name of the reference subject.

src_refinstance of SourceSpaces

Source space of the reference subject. See get_src_reference.

infostr | instance of mne.Info

Instance of an MNE info file or path to a raw fif file.

trans_fnamestr

Path to the trans file of the subject.

bem_fnamestr

Path to the bem solution of the subject.

megbool

Include MEG channels or not.

eegbool

Include EEG channels or not.

mindistfloat

Safety distance from the outer skull. Sources below mindist will be discarded in the forward operator.

subjects_dirstr

Path to the freesurfer subjects directory.

n_jobsint

The number jobs to run in parallel.

verboseNone | bool

Use verbose mode. If None use MNE default.