v2.0.0
Loading...
Searching...
No Matches
standard_montage.h
Go to the documentation of this file.
1//=============================================================================================================
29
30#ifndef STANDARD_MONTAGE_H
31#define STANDARD_MONTAGE_H
32
33//=============================================================================================================
34// INCLUDES
35//=============================================================================================================
36
37#include "../utils_global.h"
38
39//=============================================================================================================
40// EIGEN INCLUDES
41//=============================================================================================================
42
43#include <Eigen/Core>
44
45//=============================================================================================================
46// QT INCLUDES
47//=============================================================================================================
48
49#include <QStringList>
50#include <QMap>
51
52//=============================================================================================================
53// DEFINE NAMESPACE UTILSLIB
54//=============================================================================================================
55
56namespace UTILSLIB
57{
58
59//=============================================================================================================
66{
67 QString name;
68 Eigen::Vector3d pos;
69};
70
71//=============================================================================================================
78{
79public:
80 //=========================================================================================================
84 enum class System
85 {
86 Standard_1020,
87 Standard_1010,
88 Standard_1005
89 };
90
91 //=========================================================================================================
99 static QList<ElectrodePosition> getMontage(System system);
100
101 //=========================================================================================================
109 static QStringList getElectrodeNames(System system);
110
111 //=========================================================================================================
122 static bool findElectrode(const QString& name, Eigen::Vector3d& pos);
123
124 //=========================================================================================================
132 static int electrodeCount(System system);
133
134private:
135 static QList<ElectrodePosition> buildStandard1020();
136 static QList<ElectrodePosition> buildStandard1010();
137};
138
139} // namespace UTILSLIB
140
141#endif // STANDARD_MONTAGE_H
Public umbrella header for UTILSLIB exposing the UTILSSHARED_EXPORT macro and build-info accessors.
#define UTILSSHARED_EXPORT
Shared utilities (I/O helpers, spectral analysis, layout management, warp algorithms).
Represents an electrode position in a montage.
Standard EEG montage with named electrode positions.
System
Supported standard montage systems.