This documentation is for development version 0.18.dev0.

mne.pick_info

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

Restrict an info structure to a selection of channels.

Parameters:
info : dict

Info structure from evoked or raw data.

sel : list of int | None

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

copy : bool

If copy is False, info is modified inplace.

verbose : bool, str, int, or None

If not None, override default verbose level (see mne.verbose() and Logging documentation for more).

Returns:
res : dict

Info structure restricted to a selection of channels.