v2.0.0
Loading...
Searching...
No Matches
layoutloader.h File Reference

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>
Include dependency graph for layoutloader.h:
This graph shows which files directly or indirectly include this file:

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).

Detailed Description

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

Author
Lorenz Esch loren.nosp@m.z.es.nosp@m.ch@tu.nosp@m.-ilm.nosp@m.enau..nosp@m.de; Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org; Juan GPC jgarc.nosp@m.iapr.nosp@m.ieto@.nosp@m.mgh..nosp@m.harva.nosp@m.rd.e.nosp@m.du; Gabriel Motta gabri.nosp@m.elbe.nosp@m.nmott.nosp@m.a@gm.nosp@m.ail.c.nosp@m.om
Since
0.1.0
Date
September 2014

UTILSLIB::LayoutLoader parses two complementary layout descriptions that mne-cpp consumes throughout its UI and forward-modelling stack:

  • ANT .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.
  • MNE .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.