MNE-CPP
0.1.9
A Framework for Electrophysiology
|
Minimum norm estimation. More...
#include <minimumnorm.h>
Public Types | |
typedef QSharedPointer< MinimumNorm > | SPtr |
typedef QSharedPointer< const MinimumNorm > | ConstSPtr |
Public Member Functions | |
MinimumNorm (const MNELIB::MNEInverseOperator &p_inverseOperator, float lambda, const QString method) | |
MinimumNorm (const MNELIB::MNEInverseOperator &p_inverseOperator, float lambda, bool dSPM, bool sLORETA) | |
virtual MNELIB::MNESourceEstimate | calculateInverse (const FIFFLIB::FiffEvoked &p_fiffEvoked, bool pick_normal=false) |
virtual MNELIB::MNESourceEstimate | calculateInverse (const Eigen::MatrixXd &data, float tmin, float tstep, bool pick_normal=false) const |
virtual void | doInverseSetup (qint32 nave, bool pick_normal=false) |
virtual const char * | getName () const |
virtual const MNELIB::MNESourceSpace & | getSourceSpace () const |
MNELIB::MNEInverseOperator & | getPreparedInverseOperator () |
void | setMethod (QString method) |
void | setMethod (bool dSPM, bool sLORETA) |
void | setRegularization (float lambda) |
Eigen::MatrixXd & | getKernel () |
Public Member Functions inherited from INVERSELIB::IInverseAlgorithm | |
virtual | ~IInverseAlgorithm () |
Minimum norm estimation.
Minimum norm estimation algorithm ToDo: Paper references.
Definition at line 69 of file minimumnorm.h.
typedef QSharedPointer<const MinimumNorm> INVERSELIB::MinimumNorm::ConstSPtr |
Const shared pointer type for MinimumNorm.
Definition at line 73 of file minimumnorm.h.
typedef QSharedPointer<MinimumNorm> INVERSELIB::MinimumNorm::SPtr |
Shared pointer type for MinimumNorm.
Definition at line 72 of file minimumnorm.h.
|
explicit |
Constructs minimum norm inverse algorithm
[in] | p_inverseOperator | The inverse operator. |
[in] | lambda | The regularization factor. |
[in] | method | Use mininum norm, dSPM or sLORETA. ("MNE" | "dSPM" | "sLORETA"). |
Definition at line 68 of file minimumnorm.cpp.
|
explicit |
Constructs minimum norm inverse algorithm
[in] | p_inverseOperator | The inverse operator. |
[in] | lambda | The regularization factor. |
[in] | dSPM | Compute the noise-normalization factors for dSPM?. |
[in] | sLORETA | Compute the noise-normalization factors for sLORETA?. |
Definition at line 78 of file minimumnorm.cpp.
|
virtual |
Applies the inverse algorithm to input data and returns a source estimate.
[in] | p_fiffEvoked | Evoked data. |
[in] | tmin | Minimal time point. |
[in] | tmin | Time between two samples. |
[in] | pick_normal | If True, rather than pooling the orientations by taking the norm, only the. radial component is kept. This is only applied when working with loose orientations. |
Implements INVERSELIB::IInverseAlgorithm.
|
virtual |
Computes a L2-norm inverse solution Actual code using these principles might be different because the inverse operator is often reused across data sets.
[in] | p_fiffEvoked | Evoked data. |
[in] | pick_normal | If True, rather than pooling the orientations by taking the norm, only the. radial component is kept. This is only applied when working with loose orientations. |
Implements INVERSELIB::IInverseAlgorithm.
Definition at line 88 of file minimumnorm.cpp.
|
virtual |
Perform the inverse setup: Prepares this inverse operator and assembles the kernel.
[in] | nave | Number of averages to use. |
[in] | pick_normal | If True, rather than pooling the orientations by taking the norm, only the. radial component is kept. This is only applied when working with loose orientations. |
Definition at line 238 of file minimumnorm.cpp.
|
inline |
|
virtual |
Get the name of the inverse operator.
Implements INVERSELIB::IInverseAlgorithm.
Definition at line 255 of file minimumnorm.cpp.
|
inline |
Get the prepared inverse operator.
Definition at line 210 of file minimumnorm.h.
|
virtual |
Get the source space corresponding to this inverse operator.
Implements INVERSELIB::IInverseAlgorithm.
Definition at line 262 of file minimumnorm.cpp.
void MinimumNorm::setMethod | ( | bool | dSPM, |
bool | sLORETA | ||
) |
Set minimum norm algorithm method ("MNE" | "dSPM" | "sLORETA")
[in] | dSPM | Compute the noise-normalization factors for dSPM?. |
[in] | sLORETA | Compute the noise-normalization factors for sLORETA?. |
Definition at line 289 of file minimumnorm.cpp.
void MinimumNorm::setMethod | ( | QString | method | ) |
Set minimum norm algorithm method ("MNE" | "dSPM" | "sLORETA")
[in] | method | Use mininum norm, dSPM or sLORETA. |
Definition at line 269 of file minimumnorm.cpp.
void MinimumNorm::setRegularization | ( | float | lambda | ) |
Set regularization factor
[in] | lambda | The regularization factor. |
Definition at line 313 of file minimumnorm.cpp.