mne.pick_types_forward¶
-
mne.
pick_types_forward
(orig, meg=True, eeg=False, ref_meg=True, seeg=False, ecog=False, include=[], exclude=[])[source]¶ Pick by channel type and names from a forward operator.
- Parameters
- orig
dict
A forward solution
- megbool or
str
If True include all MEG channels. If False include None If string it can be ‘mag’ or ‘grad’ to select only gradiometers or magnetometers.
- eegbool
If True include EEG channels
- ref_megbool
If True include CTF / 4D reference channels
- seegbool
If True include stereotactic EEG channels
- ecogbool
If True include electrocorticography channels
- include
list
ofstr
List of additional channels to include. If empty do not include any.
- exclude
list
ofstr
|str
List of channels to exclude. If empty do not exclude any (default). If ‘bads’, exclude channels in orig[‘info’][‘bads’].
- orig
- Returns
- res
dict
Forward solution restricted to selected channel types.
- res