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//=============================================================================================================
66{
67public:
68 typedef QSharedPointer<MNECTFCompData> SPtr;
69 typedef QSharedPointer<const MNECTFCompData> ConstSPtr;
70
71 //=========================================================================================================
76
77 //=========================================================================================================
83 MNECTFCompData(const MNECTFCompData& comp);
84
85 //=========================================================================================================
90
101 int calibrate(const QList<FIFFLIB::FiffChInfo>& chs,
102 int nch,
103 bool do_it);
104
105public:
106 int kind;
109 std::unique_ptr<MNENamedMatrix> data;
110 std::unique_ptr<FIFFLIB::FiffSparseMatrix> presel;
111 std::unique_ptr<FIFFLIB::FiffSparseMatrix> postsel;
112 Eigen::VectorXf presel_data;
113 Eigen::VectorXf comp_data;
114 Eigen::VectorXf postsel_data;
115};
116
117//=============================================================================================================
118// INLINE DEFINITIONS
119//=============================================================================================================
120} // NAMESPACE MNELIB
121
122#endif // MNECTFCOMPDATA_H
FIFF sparse matrix: column / row-compressed sparse storage backed by Eigen::SparseMatrix.
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
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)