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
.loutor.layfile 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/layoutsfolder inside your mne-python installation.Deprecated since version v1.4: The
kindandpathparameters will be removed in version 1.5. Please use thefnameparameter instead.- scale
bool Apply useful scaling for out the box plotting using
layout.pos. Defaults to True.- kind
str|None The name of the
.loutfile (e.g.kind='Vectorview-all'for'Vectorview-all.lout').Deprecated since version v1.4: The
kindandpathparameters will be removed in version 1.5. Please use thefnameparameter instead.
- fnamepath-like |
- Returns:
- layoutinstance of
Layout The layout.
- layoutinstance of
See also
Notes
Valid
fnamearguments 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#
How to convert 3D electrode positions to a 2D image