v2.0.0
Loading...
Searching...
No Matches
inv_dipole_forward.h
Go to the documentation of this file.
1//=============================================================================================================
36
37#ifndef INV_DIPOLE_FORWARD_H
38#define INV_DIPOLE_FORWARD_H
39
40//=============================================================================================================
41// INCLUDES
42//=============================================================================================================
43
44#include "../inv_global.h"
45
46//=============================================================================================================
47// EIGEN INCLUDES
48//=============================================================================================================
49
50#include <Eigen/Core>
51
52//=============================================================================================================
53// QT INCLUDES
54//=============================================================================================================
55
56#include <QSharedPointer>
57
58//=============================================================================================================
59// STL INCLUDES
60//=============================================================================================================
61
62#include <memory>
63
64//=============================================================================================================
65// DEFINE NAMESPACE INVLIB
66//=============================================================================================================
67
68namespace INVLIB
69{
70
71//=============================================================================================================
83{
84public:
85 typedef QSharedPointer<InvDipoleForward> SPtr;
86 typedef QSharedPointer<const InvDipoleForward> ConstSPtr;
87 typedef std::unique_ptr<InvDipoleForward> UPtr;
88
89 //=========================================================================================================
93 InvDipoleForward() = default;
94
95 //=========================================================================================================
99 ~InvDipoleForward() = default;
100
101public:
102 Eigen::MatrixXf rd;
103 int ndip = 0;
104 Eigen::Matrix<float, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> fwd;
105 Eigen::VectorXf scales;
106 Eigen::Matrix<float, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> uu;
107 Eigen::Matrix<float, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> vv;
108 Eigen::VectorXf sing;
109 int nch = 0;
110};
111
112//=============================================================================================================
113// INLINE DEFINITIONS
114//=============================================================================================================
115} // NAMESPACE INVLIB
116
117#endif // INV_DIPOLE_FORWARD_H
inverse library export/import macros.
#define INVSHARED_EXPORT
Definition inv_global.h:52
Inverse source estimation (MNE, dSPM, sLORETA, dipole fitting).
Eigen::Matrix< float, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > uu
QSharedPointer< const InvDipoleForward > ConstSPtr
Eigen::Matrix< float, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > vv
QSharedPointer< InvDipoleForward > SPtr
Eigen::Matrix< float, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > fwd
std::unique_ptr< InvDipoleForward > UPtr