26#ifndef INV_SOURCE_ESTIMATE_H
27#define INV_SOURCE_ESTIMATE_H
57#include <QSharedPointer>
90 typedef QSharedPointer<InvSourceEstimate>
SPtr;
91 typedef QSharedPointer<const InvSourceEstimate>
ConstSPtr;
108 InvSourceEstimate(
const Eigen::MatrixXd &p_sol,
const Eigen::VectorXi &p_vertices,
float p_tmin,
float p_tstep);
163 bool write(QIODevice &p_IODevice);
188 void write_w(
const QString& path)
const;
225 Eigen::VectorXi
getIndicesByLabel(
const QList<FSLIB::FsLabel> &lPickedLabels,
bool bIsClustered)
const;
312 return data.size() > 0;
Reader and in-memory representation of a FreeSurfer/MNE surface label (.label).
Lightweight pairwise source-connectivity container that travels alongside a source estimate.
Single off-grid focal dipole result with free position, moment and fit-quality metrics.
Container for an N-tuple of correlated grid sources discovered by RAP-/TRAP-MUSIC.
Strongly-typed enumerations that tag a source estimate with the inverse method, source-space type,...
INVLIB library export/import macros, build-info accessors, and namespace docstring for the inverse-so...
Inverse source estimation (MNE, dSPM, sLORETA, dipole fitting).
std::vector< InvSourceCoupling > couplings
std::vector< InvFocalDipole > focalDipoles
Eigen::MatrixX3f positions
bool hasCouplings() const
bool hasPositions() const
bool hasConnectivity() const
Eigen::VectorXi getIndicesByLabel(const QList< FSLIB::FsLabel > &lPickedLabels, bool bIsClustered) const
static bool read(QIODevice &p_IODevice, InvSourceEstimate &p_stc)
bool hasFocalDipoles() const
static InvSourceEstimate read_w(const QString &path)
bool write(QIODevice &p_IODevice)
QSharedPointer< InvSourceEstimate > SPtr
InvSourceSpaceType sourceSpaceType
QSharedPointer< const InvSourceEstimate > ConstSPtr
InvOrientationType orientationType
InvSourceEstimate(const Eigen::MatrixXd &p_sol, const Eigen::VectorXi &p_vertices, float p_tmin, float p_tstep)
std::vector< InvConnectivity > connectivity
InvSourceEstimate reduce(qint32 start, qint32 n)
void write_w(const QString &path) const