mne.channels.Layout

class mne.channels.Layout(box, pos, names, ids, kind)

Sensor layouts

Layouts are typically loaded from a file using read_layout. Only use this class directly if you’re constructing a new layout.

Parameters:

box : tuple of length 4

The box dimension (x_min, x_max, y_min, y_max).

pos : array, shape=(n_channels, 4)

The positions of the channels in 2d (x, y, width, height).

names : list

The channel names.

ids : list

The channel ids.

kind : str

The type of Layout (e.g. ‘Vectorview-all’).

Methods

save(fname) Save Layout to disk
__init__(box, pos, names, ids, kind)
save(fname)

Save Layout to disk

Parameters:

fname : str

The file name (e.g. ‘my_layout.lout’).

See also

read_layout