mne.pick_info

mne.pick_info(info, sel=(), copy=True)

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.

copy : bool

If copy is False, info is modified inplace.

Returns:

res : dict

Info structure restricted to a selection of channels.