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 : instance of Info | None

Measurement info (e.g., raw.info). If None, default names will be employed.

picks : array-like of int | None

The indices of the channels to be included. If None, al misc channels will be included.

n_col : int | None

Number of columns to generate. If None, a square grid will be produced.

Returns:

layout : Layout

The generated layout.