v2.0.0
Loading...
Searching...
No Matches
inv_resolution_matrix.h
Go to the documentation of this file.
1//=============================================================================================================
23
24#ifndef INV_RESOLUTION_MATRIX_H
25#define INV_RESOLUTION_MATRIX_H
26
27//=============================================================================================================
28// INCLUDES
29//=============================================================================================================
30
31#include "inv_global.h"
32
33//=============================================================================================================
34// EIGEN INCLUDES
35//=============================================================================================================
36
37#include <Eigen/Core>
38
39//=============================================================================================================
40// QT INCLUDES
41//=============================================================================================================
42
43#include <QList>
44
45//=============================================================================================================
46// DEFINE NAMESPACE INVLIB
47//=============================================================================================================
48
49namespace INVLIB
50{
51
52//=============================================================================================================
63{
64public:
65 //=========================================================================================================
73 static Eigen::MatrixXd compute(const Eigen::MatrixXd& matInverseKernel,
74 const Eigen::MatrixXd& matLeadField);
75
76 //=========================================================================================================
85 static Eigen::VectorXd getPsf(const Eigen::MatrixXd& matResolution,
86 int iSourceIdx);
87
88 //=========================================================================================================
97 static Eigen::VectorXd getCtf(const Eigen::MatrixXd& matResolution,
98 int iSourceIdx);
99
100 //=========================================================================================================
108 static Eigen::MatrixXd getPsfs(const Eigen::MatrixXd& matResolution,
109 const Eigen::VectorXi& vecSourceIdx);
110
111 //=========================================================================================================
119 static Eigen::MatrixXd getCtfs(const Eigen::MatrixXd& matResolution,
120 const Eigen::VectorXi& vecSourceIdx);
121
122 //=========================================================================================================
133 static Eigen::VectorXd spatialSpread(const Eigen::MatrixXd& matResolution,
134 const Eigen::MatrixX3d& matPositions);
135
136 //=========================================================================================================
147 static Eigen::VectorXd peakLocalisationError(const Eigen::MatrixXd& matResolution,
148 const Eigen::MatrixX3d& matPositions);
149};
150
151} // namespace INVLIB
152
153#endif // INV_RESOLUTION_MATRIX_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).
Resolution matrix analysis for linear inverse operators.
static Eigen::MatrixXd compute(const Eigen::MatrixXd &matInverseKernel, const Eigen::MatrixXd &matLeadField)
static Eigen::VectorXd peakLocalisationError(const Eigen::MatrixXd &matResolution, const Eigen::MatrixX3d &matPositions)
static Eigen::MatrixXd getCtfs(const Eigen::MatrixXd &matResolution, const Eigen::VectorXi &vecSourceIdx)
static Eigen::MatrixXd getPsfs(const Eigen::MatrixXd &matResolution, const Eigen::VectorXi &vecSourceIdx)
static Eigen::VectorXd spatialSpread(const Eigen::MatrixXd &matResolution, const Eigen::MatrixX3d &matPositions)
static Eigen::VectorXd getCtf(const Eigen::MatrixXd &matResolution, int iSourceIdx)
static Eigen::VectorXd getPsf(const Eigen::MatrixXd &matResolution, int iSourceIdx)