v2.0.0
Loading...
Searching...
No Matches
standard_montage.h
Go to the documentation of this file.
1//=============================================================================================================
17
18#ifndef STANDARD_MONTAGE_H
19#define STANDARD_MONTAGE_H
20
21//=============================================================================================================
22// INCLUDES
23//=============================================================================================================
24
25#include "../utils_global.h"
26
27//=============================================================================================================
28// EIGEN INCLUDES
29//=============================================================================================================
30
31#include <Eigen/Core>
32
33//=============================================================================================================
34// QT INCLUDES
35//=============================================================================================================
36
37#include <QStringList>
38#include <QMap>
39
40//=============================================================================================================
41// DEFINE NAMESPACE UTILSLIB
42//=============================================================================================================
43
44namespace UTILSLIB
45{
46
47//=============================================================================================================
54{
55 QString name;
56 Eigen::Vector3d pos;
57};
58
59//=============================================================================================================
66{
67public:
68 //=========================================================================================================
72 enum class System
73 {
74 Standard_1020,
75 Standard_1010,
76 Standard_1005
77 };
78
79 //=========================================================================================================
87 static QList<ElectrodePosition> getMontage(System system);
88
89 //=========================================================================================================
97 static QStringList getElectrodeNames(System system);
98
99 //=========================================================================================================
110 static bool findElectrode(const QString& name, Eigen::Vector3d& pos);
111
112 //=========================================================================================================
120 static int electrodeCount(System system);
121};
122
123} // namespace UTILSLIB
124
125#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.