29#ifndef INV_MINIMUM_NORM_H
30#define INV_MINIMUM_NORM_H
42#include <QSharedPointer>
72 typedef QSharedPointer<InvMinimumNorm>
SPtr;
73 typedef QSharedPointer<const InvMinimumNorm>
ConstSPtr;
125 virtual void doInverseSetup(qint32 nave,
bool pick_normal =
false);
133 virtual const char*
getName()
const;
167 void setMethod(
bool dSPM,
bool sLORETA,
bool eLoreta =
false);
185 void setELoretaOptions(
int maxIter = 20,
double eps = 1e-6,
bool forceEqual =
false);
206 void computeELoreta();
216 int m_iELoretaMaxIter;
217 double m_dELoretaEps;
218 bool m_bELoretaForceEqual;
222 Eigen::SparseMatrix<double> noise_norm;
223 QList<Eigen::VectorXi> vertno;
Reader and in-memory representation of a FreeSurfer/MNE surface label (.label).
Pre-computed inverse operator (whitened SVD of the forward model) for MNE/dSPM/sLORETA.
InvSourceEstimate value type — central source-space data container produced by every INVLIB inverse s...
INVLIB library export/import macros, build-info accessors, and namespace docstring for the inverse-so...
Inverse source estimation (MNE, dSPM, sLORETA, dipole fitting).
Single averaged evoked response: time axis, data, baseline, channel info and averaging metadata.
A FreeSurfer/MNE surface label: per-vertex indices, Tk-RAS positions and scalar values for one hemisp...
Source-space inverse-solution container with dense grid plus optional focal-dipole,...
virtual ~InvMinimumNorm()
virtual const MNELIB::MNESourceSpaces & getSourceSpace() const
Eigen::MatrixXd & getKernel()
void setELoretaOptions(int maxIter=20, double eps=1e-6, bool forceEqual=false)
virtual InvSourceEstimate calculateInverse(const Eigen::MatrixXd &data, float tmin, float tstep, bool pick_normal=false) const
QSharedPointer< const InvMinimumNorm > ConstSPtr
virtual void doInverseSetup(qint32 nave, bool pick_normal=false)
void setMethod(QString method)
MNELIB::MNEInverseOperator & getPreparedInverseOperator()
void setRegularization(float lambda)
virtual const char * getName() const
InvMinimumNorm(const MNELIB::MNEInverseOperator &p_inverseOperator, float lambda, const QString method)
QSharedPointer< InvMinimumNorm > SPtr
MNE-style inverse operator.
List of MNESourceSpace objects forming a subject source space.