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//=============================================================================================================
69{
70public:
71 //=========================================================================================================
79 static Eigen::MatrixXd compute(const Eigen::MatrixXd& matInverseKernel,
80 const Eigen::MatrixXd& matLeadField);
81
82 //=========================================================================================================
91 static Eigen::VectorXd getPsf(const Eigen::MatrixXd& matResolution,
92 int iSourceIdx);
93
94 //=========================================================================================================
103 static Eigen::VectorXd getCtf(const Eigen::MatrixXd& matResolution,
104 int iSourceIdx);
105
106 //=========================================================================================================
114 static Eigen::MatrixXd getPsfs(const Eigen::MatrixXd& matResolution,
115 const Eigen::VectorXi& vecSourceIdx);
116
117 //=========================================================================================================
125 static Eigen::MatrixXd getCtfs(const Eigen::MatrixXd& matResolution,
126 const Eigen::VectorXi& vecSourceIdx);
127
128 //=========================================================================================================
139 static Eigen::VectorXd spatialSpread(const Eigen::MatrixXd& matResolution,
140 const Eigen::MatrixX3d& matPositions);
141
142 //=========================================================================================================
153 static Eigen::VectorXd peakLocalisationError(const Eigen::MatrixXd& matResolution,
154 const Eigen::MatrixX3d& matPositions);
155};
156
157} // namespace INVLIB
158
159#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)