mne.channels.read_layout#

mne.channels.read_layout(fname=None, path='', scale=True, *, kind=None)[source]#

Read layout from a file.

Parameters:
fnamepath-like | str

Either the path to a .lout or .lay file or the name of a built-in layout. c.f. Notes for a list of the available built-in layouts.

pathpath-like | None

The path of the folder containing the Layout file. Defaults to the mne/channels/data/layouts folder inside your mne-python installation.

Deprecated since version v1.4: The kind and path parameters will be removed in version 1.5. Please use the fname parameter instead.

scalebool

Apply useful scaling for out the box plotting using layout.pos. Defaults to True.

kindstr | None

The name of the .lout file (e.g. kind='Vectorview-all' for 'Vectorview-all.lout').

Deprecated since version v1.4: The kind and path parameters will be removed in version 1.5. Please use the fname parameter instead.

Returns:
layoutinstance of Layout

The layout.

See also

Layout.save

Notes

Valid fname arguments are:

Kind

biosemi

CTF151

CTF275

CTF-275

EEG1005

EGI256

GeodesicHeadWeb-130

GeodesicHeadWeb-280

KIT-125

KIT-157

KIT-160

KIT-AD

KIT-AS-2008

KIT-UMD-3

magnesWH3600

Neuromag_122

Vectorview-all

Vectorview-grad

Vectorview-grad_norm

Vectorview-mag

Examples using mne.channels.read_layout#

Working with sensor locations

Working with sensor locations

How to convert 3D electrode positions to a 2D image

How to convert 3D electrode positions to a 2D image