v2.0.0
Loading...
Searching...
No Matches
mne_ctf_comp_data.h
Go to the documentation of this file.
1//=============================================================================================================
18
19#ifndef MNECTFCOMPDATA_H
20#define MNECTFCOMPDATA_H
21
22//=============================================================================================================
23// INCLUDES
24//=============================================================================================================
25
26#include "mne_global.h"
27
28#include "mne_named_matrix.h"
30
31//=============================================================================================================
32// EIGEN INCLUDES
33//=============================================================================================================
34
35#include <Eigen/Core>
36
37//=============================================================================================================
38// QT INCLUDES
39//=============================================================================================================
40
41#include <QSharedPointer>
42#include <QList>
43
44//=============================================================================================================
45// DEFINE NAMESPACE MNELIB
46//=============================================================================================================
47
48namespace MNELIB
49{
50
51//=============================================================================================================
52// FORWARD DECLARATIONS
53//=============================================================================================================
54
55//=============================================================================================================
64{
65public:
66 typedef QSharedPointer<MNECTFCompData> SPtr;
67 typedef QSharedPointer<const MNECTFCompData> ConstSPtr;
68
69 //=========================================================================================================
74
75 //=========================================================================================================
81 MNECTFCompData(const MNECTFCompData& comp);
82
83 //=========================================================================================================
88
99 int calibrate(const QList<FIFFLIB::FiffChInfo> &chs,
100 int nch,
101 bool do_it);
102
103public:
104 int kind;
107 std::unique_ptr<MNENamedMatrix> data;
108 std::unique_ptr<FIFFLIB::FiffSparseMatrix> presel;
109 std::unique_ptr<FIFFLIB::FiffSparseMatrix> postsel;
110 Eigen::VectorXf presel_data;
111 Eigen::VectorXf comp_data;
112 Eigen::VectorXf postsel_data;
113};
114
115//=============================================================================================================
116// INLINE DEFINITIONS
117//=============================================================================================================
118} // NAMESPACE MNELIB
119
120#endif // MNECTFCOMPDATA_H
Row/column-labelled dense matrix used wherever FIFF stores per-channel data.
MNELIB shared-library export/import macros and library build metadata.
#define MNESHARED_EXPORT
Definition mne_global.h:40
FIFF sparse matrix: column / row-compressed sparse storage backed by Eigen::SparseMatrix.
Core MNE data structures (source spaces, source estimates, hemispheres).
std::unique_ptr< FIFFLIB::FiffSparseMatrix > postsel
std::unique_ptr< MNENamedMatrix > data
QSharedPointer< MNECTFCompData > SPtr
std::unique_ptr< FIFFLIB::FiffSparseMatrix > presel
QSharedPointer< const MNECTFCompData > ConstSPtr
int calibrate(const QList< FIFFLIB::FiffChInfo > &chs, int nch, bool do_it)