Minimum norm estimation. More...
#include <inv_minimum_norm.h>
Public Types | |
| typedef QSharedPointer< InvMinimumNorm > | SPtr |
| typedef QSharedPointer< const InvMinimumNorm > | ConstSPtr |
Public Member Functions | |
| InvMinimumNorm (const MNELIB::MNEInverseOperator &p_inverseOperator, float lambda, const QString method) | |
| InvMinimumNorm (const MNELIB::MNEInverseOperator &p_inverseOperator, float lambda, bool dSPM, bool sLORETA) | |
| virtual | ~InvMinimumNorm () |
| virtual InvSourceEstimate | calculateInverse (const FIFFLIB::FiffEvoked &p_fiffEvoked, bool pick_normal=false) |
| virtual InvSourceEstimate | 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::MNESourceSpaces & | getSourceSpace () const |
| MNELIB::MNEInverseOperator & | getPreparedInverseOperator () |
| void | setMethod (QString method) |
| void | setMethod (bool dSPM, bool sLORETA, bool eLoreta=false) |
| void | setRegularization (float lambda) |
| void | setELoretaOptions (int maxIter=20, double eps=1e-6, bool forceEqual=false) |
| Eigen::MatrixXd & | getKernel () |
Minimum norm estimation.
Minimum norm estimation algorithm.
Computes L2 minimum-norm, dSPM, or sLORETA source estimates from MEG/EEG data using a pre-computed inverse operator.
References:
Definition at line 77 of file inv_minimum_norm.h.
| typedef QSharedPointer<const InvMinimumNorm> INVLIB::InvMinimumNorm::ConstSPtr |
Const shared pointer type for InvMinimumNorm.
Definition at line 81 of file inv_minimum_norm.h.
| typedef QSharedPointer<InvMinimumNorm> INVLIB::InvMinimumNorm::SPtr |
Shared pointer type for InvMinimumNorm.
Definition at line 80 of file inv_minimum_norm.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 74 of file inv_minimum_norm.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 88 of file inv_minimum_norm.cpp.
|
inlinevirtual |
Definition at line 108 of file inv_minimum_norm.h.
|
virtual |
|
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. |
Definition at line 102 of file inv_minimum_norm.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 256 of file inv_minimum_norm.cpp.
|
inline |
Get the assembled kernel
Definition at line 240 of file inv_minimum_norm.h.
|
virtual |
Get the name of the inverse operator.
Definition at line 278 of file inv_minimum_norm.cpp.
|
inline |
Get the prepared inverse operator.
Definition at line 247 of file inv_minimum_norm.h.
|
virtual |
Get the source space corresponding to this inverse operator.
Definition at line 285 of file inv_minimum_norm.cpp.
| void InvMinimumNorm::setELoretaOptions | ( | int | maxIter = 20, |
| double | eps = 1e-6, | ||
| bool | forceEqual = false ) |
Set eLORETA options.
| [in] | maxIter | Maximum number of eLORETA weight iterations (default: 20). |
| [in] | eps | Convergence threshold for weight fitting (default: 1e-6). |
| [in] | forceEqual | If true, use uniform orientation weights (default: false). |
Definition at line 348 of file inv_minimum_norm.cpp.
| void InvMinimumNorm::setMethod | ( | bool | dSPM, |
| bool | sLORETA, | ||
| bool | eLoreta = false ) |
Set minimum norm algorithm method ("MNE" | "dSPM" | "sLORETA" | "eLORETA")
| [in] | dSPM | Compute the noise-normalization factors for dSPM?. |
| [in] | sLORETA | Compute the noise-normalization factors for sLORETA?. |
| [in] | eLoreta | Compute the eLORETA source weights?. |
Definition at line 314 of file inv_minimum_norm.cpp.
| void InvMinimumNorm::setMethod | ( | QString | method | ) |
Set minimum norm algorithm method ("MNE" | "dSPM" | "sLORETA" | "eLORETA")
| [in] | method | Use minimum norm, dSPM, sLORETA, or eLORETA. |
Definition at line 292 of file inv_minimum_norm.cpp.
| void InvMinimumNorm::setRegularization | ( | float | lambda | ) |
Set regularization factor
| [in] | lambda | The regularization factor. |
Definition at line 341 of file inv_minimum_norm.cpp.