mne.pick_info

mne.pick_info(info, sel=(), copy=True, verbose=None)[source]

Restrict an info structure to a selection of channels.

Parameters
infomne.Info

The mne.Info object with information about the sensors and methods of measurement.

sellist of int | None

Indices of channels to include. If None, all channels are included.

copybool

If copy is False, info is modified inplace.

verbosebool | str | int | None

Control verbosity of the logging output. If None, use the default verbosity level. See the logging documentation and mne.verbose() for details. Should only be passed as a keyword argument.

Returns
resdict

Info structure restricted to a selection of channels.

Examples using mne.pick_info