Reader for ANT .elc electrode files and MNE .lout 2-D channel layouts used by the topographic plotting widgets.
More...
#include "utils_global.h"#include <string>#include <vector>#include <QSharedPointer>#include <QVector>#include <QStringList>#include <QString>#include <QPoint>#include <Eigen/Core>

Go to the source code of this file.
Classes | |
| class | UTILSLIB::LayoutLoader |
| Reads ANT .elc electrode files and MNE .lout 2-D channel layouts into Qt/STL containers. More... | |
Namespaces | |
| namespace | UTILSLIB |
| Shared utilities (I/O helpers, spectral analysis, layout management, warp algorithms). | |
Reader for ANT .elc electrode files and MNE .lout 2-D channel layouts used by the topographic plotting widgets.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2014-2026 MNE-CPP Authors
UTILSLIB::LayoutLoader parses two complementary layout descriptions that mne-cpp consumes throughout its UI and forward-modelling stack:
.elc — the ASCII electrode list emitted by ANT/eemagine systems, carrying both 3-D head-frame and 2-D projected positions plus a per-file unit declaration (mm / cm / m); used when a user imports a new EEG cap or when DISP3DLIB builds the sensor visualisation..lout — the legacy MNE-C topographic layout used by DISPLIB::ButterflyView and the time-frequency plots, storing per-channel (x,y,width,height,name) tuples.Both QString and std::string overloads are provided so the loader is callable from the Qt-aware GUI layer and from the pure-C++ test fixtures without a string conversion.
Definition in file layoutloader.h.