29#ifndef INV_BEAMFORMER_COMPUTE_H
30#define INV_BEAMFORMER_COMPUTE_H
91 const Eigen::MatrixXd &Cm,
98 const Eigen::MatrixX3d &nn,
100 Eigen::MatrixX3d &maxPowerOri);
114 static Eigen::VectorXd
computePower(
const Eigen::MatrixXd &Cm,
115 const Eigen::MatrixXd &W,
128 static Eigen::MatrixXd
symMatPow(
const Eigen::MatrixXd &
X,
double p,
bool reduceRank =
false);
144 static void regPinv(
const Eigen::MatrixXd &C,
146 Eigen::MatrixXd &CInv,
147 double &loadingFactor,
159 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)