39#include <Eigen/Sparse>
82 void compute(
const Eigen::VectorXi& verticesFrom,
83 const Eigen::VectorXi& verticesTo,
84 const Eigen::SparseMatrix<double>& morphMap);
106 int nVerticesTo()
const {
return static_cast<int>(m_verticesTo.size()); }
109 bool m_bComputed =
false;
110 Eigen::VectorXi m_verticesFrom;
111 Eigen::VectorXi m_verticesTo;
112 Eigen::SparseMatrix<double> m_morphMatrix;
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).
Source-space inverse-solution container with dense grid plus optional focal-dipole,...
int nVerticesTo() const
Get the number of target vertices.
bool isComputed() const
Check if the morph has been computed.
InvSourceEstimate apply(const InvSourceEstimate &stcFrom) const
Apply the morphing to a source estimate.
void compute(const Eigen::VectorXi &verticesFrom, const Eigen::VectorXi &verticesTo, const Eigen::SparseMatrix< double > &morphMap)
Compute the morphing transformation.