v2.0.0
Loading...
Searching...
No Matches
mne_layout.h
Go to the documentation of this file.
1//=============================================================================================================
17
18#ifndef MNE_LAYOUT_H
19#define MNE_LAYOUT_H
20
21//=============================================================================================================
22// INCLUDES
23//=============================================================================================================
24
25#include "mne_global.h"
26#include "mne_layout_port.h"
27
28#include <QString>
29#include <vector>
30
31#include <Eigen/Core>
32
33//=============================================================================================================
34// DEFINE NAMESPACE MNELIB
35//=============================================================================================================
36
37namespace MNELIB
38{
39
40//=============================================================================================================
48{
49public:
50 MNELayout() = default;
51 ~MNELayout() = default;
52
53 QString name;
54 float xmin = 0;
55 float xmax = 0;
56 float ymin = 0;
57 float ymax = 0;
58 float cxmin = 0;
59 float cxmax = 0;
60 float cymin = 0;
61 float cymax = 0;
62 std::vector<MNELayoutPort> ports;
63 Eigen::MatrixXi match;
64
68 int nmatch() const { return match.rows(); }
69};
70
71} // namespace MNELIB
72
73#endif // MNE_LAYOUT_H
MNELIB shared-library export/import macros and library build metadata.
#define MNESHARED_EXPORT
Definition mne_global.h:40
Port-level companion structure to MNELIB::MNELayout for split-channel sensors.
Core MNE data structures (source spaces, source estimates, hemispheres).
~MNELayout()=default
Eigen::MatrixXi match
Definition mne_layout.h:63
MNELayout()=default
int nmatch() const
Returns the number of channels (rows in match matrix).
Definition mne_layout.h:68
std::vector< MNELayoutPort > ports
Definition mne_layout.h:62