mne.channels.make_grid_layout#
- mne.channels.make_grid_layout(info, picks=None, n_col=None)[source]#
Generate .lout file for custom data, i.e., ICA sources.
- Parameters:
- info
mne.Info
The
mne.Info
object with information about the sensors and methods of measurement.- picks
str
| array_like |slice
|None
Channels to include. Slices and lists of integers will be interpreted as channel indices. In lists, channel type strings (e.g.,
['meg', 'eeg']
) will pick channels of those types, channel name strings (e.g.,['MEG0111', 'MEG2623']
will pick the given channels. Can also be the string values “all” to pick all channels, or “data” to pick data channels. None (default) will pick all good misc channels.- n_col
int
|None
Number of columns to generate. If None, a square grid will be produced.
- info
- Returns:
- layout
Layout
The generated layout.
- layout
See also