MNE-CPP 0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
pwlrapmusic.h
Go to the documentation of this file.
1//=============================================================================================================
36#ifndef PWLRAPMUSIC_H
37#define PWLRAPMUSIC_H
38
39//=============================================================================================================
40// INCLUDES
41//=============================================================================================================
42
43#include "../inverse_global.h"
44#include "rapmusic.h"
45
46#include "dipole.h"
47
50#include <time.h>
51
52#include <QVector>
53
54//=============================================================================================================
55// EIGEN INCLUDES
56//=============================================================================================================
57
58#include <Eigen/Core>
59#include <Eigen/SVD>
60#include <Eigen/LU>
61
62//=============================================================================================================
63// DEFINE NAMESPACE INVERSELIB
64//=============================================================================================================
65
66namespace INVERSELIB
67{
68
69//=============================================================================================================
70// SOME DEFINES
71//=============================================================================================================
72
73#define NOT_TRANSPOSED 0
74#define IS_TRANSPOSED 1
76//=============================================================================================================
83{
84public:
85
86 //=========================================================================================================
91
92 //=========================================================================================================
102 PwlRapMusic(MNELIB::MNEForwardSolution& p_pFwd, bool p_bSparsed, int p_iN = 2, double p_dThr = 0.5);
103
104 virtual ~PwlRapMusic();
105
106 //=========================================================================================================
117 virtual MNELIB::MNESourceEstimate calculateInverse(const FIFFLIB::FiffEvoked &p_fiffEvoked, bool pick_normal = false);
118
119 //=========================================================================================================
131 virtual MNELIB::MNESourceEstimate calculateInverse(const Eigen::MatrixXd &data, float tmin, float tstep) const;
132
133 virtual MNELIB::MNESourceEstimate calculateInverse(const Eigen::MatrixXd& p_matMeasurement, QList< DipolePair<double> > &p_RapDipoles) const;
134
135 static int PowellOffset(int p_iRow, int p_iNumPoints);
136
137 static void PowellIdxVec(int p_iRow, int p_iNumPoints, Eigen::VectorXi& p_pVecElements);
138
139 virtual const char* getName() const;
140};
141
142//=============================================================================================================
143// INLINE DEFINITIONS
144//=============================================================================================================
145} //NAMESPACE
146
147#endif // PWLRAPMUSIC_H
MNEForwardSolution class declaration, which provides the forward solution including the source space ...
MNESourceEstimate class declaration.
RapMusic algorithm class declaration.
ToDo Documentation...
#define INVERSESHARED_EXPORT
The PwlRapMusic class provides the POWELL RAP MUSIC Algorithm CPU implementation. ToDo: Paper referen...
Definition pwlrapmusic.h:83
virtual MNELIB::MNESourceEstimate calculateInverse(const Eigen::MatrixXd &data, float tmin, float tstep) const
The RapMusic class provides the RAP MUSIC Algorithm CPU implementation. ToDo: Paper references.
Definition rapmusic.h:93