Pick by channel type and names from a forward operator.
A forward solution.
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.
If True include EEG channels.
If True include CTF / 4D reference channels.
If True include stereotactic EEG channels.
If True include electrocorticography channels.
If True include deep brain stimulation channels.
List of additional channels to include. If empty do not include any.
List of channels to exclude. If empty do not exclude any (default). If ‘bads’, exclude channels in orig[‘info’][‘bads’].
Forward solution restricted to selected channel types.