29#ifndef INV_BEAMFORMER_COMPUTE_H
30#define INV_BEAMFORMER_COMPUTE_H
90 const Eigen::MatrixXd& Cm,
97 const Eigen::MatrixX3d& nn,
99 Eigen::MatrixX3d& maxPowerOri);
113 static Eigen::VectorXd
computePower(
const Eigen::MatrixXd& Cm,
114 const Eigen::MatrixXd& W,
127 static Eigen::MatrixXd
symMatPow(
const Eigen::MatrixXd&
X,
double p,
bool reduceRank =
false);
143 static void regPinv(
const Eigen::MatrixXd& C,
145 Eigen::MatrixXd& CInv,
146 double& loadingFactor,
158 static void reduceLeadfieldRank(Eigen::MatrixXd& Gk);
Strongly-typed enumerations shared by the LCMV and DICS beamformer pipelines.
INVLIB library export/import macros, build-info accessors, and namespace docstring for the inverse-so...
Inverse source estimation (MNE, dSPM, sLORETA, dipole fitting).
static Eigen::MatrixXd symMatPow(const Eigen::MatrixXd &X, double p, bool reduceRank=false)
static Eigen::VectorXd computePower(const Eigen::MatrixXd &Cm, const Eigen::MatrixXd &W, int nOrient)
static bool computeBeamformer(const Eigen::MatrixXd &G, const Eigen::MatrixXd &Cm, double reg, int nOrient, BeamformerWeightNorm weightNorm, BeamformerPickOri pickOri, bool reduceRank, BeamformerInversion invMethod, const Eigen::MatrixX3d &nn, Eigen::MatrixXd &W, Eigen::MatrixX3d &maxPowerOri)