v2.0.0
Loading...
Searching...
No Matches
src
libraries
inv
sparse
inv_gamma_map.h
Go to the documentation of this file.
1
//=============================================================================================================
34
35
#ifndef INV_GAMMA_MAP_H
36
#define INV_GAMMA_MAP_H
37
38
//=============================================================================================================
39
// INCLUDES
40
//=============================================================================================================
41
42
#include "
../inv_global.h
"
43
#include "
../inv_source_estimate.h
"
44
45
//=============================================================================================================
46
// EIGEN INCLUDES
47
//=============================================================================================================
48
49
#include <Eigen/Core>
50
#include <Eigen/Dense>
51
52
//=============================================================================================================
53
// QT INCLUDES
54
//=============================================================================================================
55
56
#include <QVector>
57
58
//=============================================================================================================
59
// DEFINE NAMESPACE INVLIB
60
//=============================================================================================================
61
62
namespace
INVLIB
63
{
64
65
//=============================================================================================================
69
struct
INVSHARED_EXPORT
InvGammaMapResult
{
70
InvSourceEstimate
stc
;
71
QVector<int>
activeVertices
;
72
Eigen::VectorXd
vecGamma
;
73
int
nIterations
;
74
double
residualNorm
;
75
};
76
77
//=============================================================================================================
86
class
INVSHARED_EXPORT
InvGammaMap
87
{
88
public
:
89
//=========================================================================================================
102
static
InvGammaMapResult
compute
(
103
const
Eigen::MatrixXd& matGain,
104
const
Eigen::MatrixXd& matData,
105
const
Eigen::MatrixXd& matNoiseCov,
106
int
nIterations = 100,
107
double
tolerance = 1e-6,
108
double
gammaThreshold = 1e-10);
109
};
110
111
}
// namespace INVLIB
112
113
#endif
// INV_GAMMA_MAP_H
inv_source_estimate.h
InvSourceEstimate class declaration.
inv_global.h
inverse library export/import macros.
INVSHARED_EXPORT
#define INVSHARED_EXPORT
Definition
inv_global.h:52
INVLIB
Inverse source estimation (MNE, dSPM, sLORETA, dipole fitting).
Definition
braintreemodel.h:55
INVLIB::InvSourceEstimate
Source estimation.
Definition
inv_source_estimate.h:95
INVLIB::InvGammaMapResult
Definition
inv_gamma_map.h:69
INVLIB::InvGammaMapResult::stc
InvSourceEstimate stc
Definition
inv_gamma_map.h:70
INVLIB::InvGammaMapResult::nIterations
int nIterations
Definition
inv_gamma_map.h:73
INVLIB::InvGammaMapResult::vecGamma
Eigen::VectorXd vecGamma
Definition
inv_gamma_map.h:72
INVLIB::InvGammaMapResult::residualNorm
double residualNorm
Definition
inv_gamma_map.h:74
INVLIB::InvGammaMapResult::activeVertices
QVector< int > activeVertices
Definition
inv_gamma_map.h:71
INVLIB::InvGammaMap
Gamma-MAP sparse inverse solver.
Definition
inv_gamma_map.h:87
INVLIB::InvGammaMap::compute
static InvGammaMapResult compute(const Eigen::MatrixXd &matGain, const Eigen::MatrixXd &matData, const Eigen::MatrixXd &matNoiseCov, int nIterations=100, double tolerance=1e-6, double gammaThreshold=1e-10)
Definition
inv_gamma_map.cpp:59
Generated on
for MNE-CPP by
1.16.1