mne.pick_types_forward¶
- mne.pick_types_forward(orig, meg=False, eeg=False, ref_meg=True, seeg=False, ecog=False, dbs=False, include=[], exclude=[])[source]¶
Pick by channel type and names from a forward operator.
- Parameters
- orig
dict
A forward solution.
- megbool |
str
If True include MEG channels. If string it can be ‘mag’, ‘grad’, ‘planar1’ or ‘planar2’ to select only magnetometers, all gradiometers, or a specific type of gradiometer.
- 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.
- dbsbool
If True include deep brain stimulation 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