v2.0.0
Loading...
Searching...
No Matches
inv_dipole_forward.h
Go to the documentation of this file.
1//=============================================================================================================
20
21#ifndef INV_DIPOLE_FORWARD_H
22#define INV_DIPOLE_FORWARD_H
23
24//=============================================================================================================
25// INCLUDES
26//=============================================================================================================
27
28#include "../inv_global.h"
29
30//=============================================================================================================
31// EIGEN INCLUDES
32//=============================================================================================================
33
34#include <Eigen/Core>
35
36//=============================================================================================================
37// QT INCLUDES
38//=============================================================================================================
39
40#include <QSharedPointer>
41
42//=============================================================================================================
43// STL INCLUDES
44//=============================================================================================================
45
46#include <memory>
47
48//=============================================================================================================
49// DEFINE NAMESPACE INVLIB
50//=============================================================================================================
51
52namespace INVLIB
53{
54
55//=============================================================================================================
67{
68public:
69 typedef QSharedPointer<InvDipoleForward> SPtr;
70 typedef QSharedPointer<const InvDipoleForward> ConstSPtr;
71 typedef std::unique_ptr<InvDipoleForward> UPtr;
72
73 //=========================================================================================================
77 InvDipoleForward() = default;
78
79 //=========================================================================================================
83 ~InvDipoleForward() = default;
84
85public:
86 Eigen::MatrixXf rd;
87 int ndip = 0;
88 Eigen::Matrix<float, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> fwd;
89 Eigen::VectorXf scales;
90 Eigen::Matrix<float, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> uu;
91 Eigen::Matrix<float, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> vv;
92 Eigen::VectorXf sing;
93 int nch = 0;
94};
95
96//=============================================================================================================
97// INLINE DEFINITIONS
98//=============================================================================================================
99} // NAMESPACE INVLIB
100
101#endif // INV_DIPOLE_FORWARD_H
INVLIB library export/import macros, build-info accessors, and namespace docstring for the inverse-so...
#define INVSHARED_EXPORT
Definition inv_global.h:38
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