DICS beamformer (frequency-domain). More...
#include <inv_dics.h>
Static Public Member Functions | |
| static InvBeamformer | makeDICS (const FIFFLIB::FiffInfo &info, const MNELIB::MNEForwardSolution &forward, const std::vector< Eigen::MatrixXd > &csdMatrices, const Eigen::VectorXd &frequencies, double reg=0.05, bool realFilter=true, const FIFFLIB::FiffCov &noiseCov=FIFFLIB::FiffCov(), BeamformerPickOri pickOri=BeamformerPickOri::None, BeamformerWeightNorm weightNorm=BeamformerWeightNorm::UnitNoiseGain, bool reduceRank=false, BeamformerInversion invMethod=BeamformerInversion::Matrix) |
| static InvSourceEstimate | applyDICSCsd (const std::vector< Eigen::MatrixXd > &csdMatrices, const Eigen::VectorXd &frequencies, const InvBeamformer &filters) |
| static InvSourceEstimate | applyDICS (const Eigen::MatrixXd &data, float tmin, float tstep, const InvBeamformer &filters, int freqIdx=0) |
DICS beamformer (frequency-domain).
Dynamic Imaging of Coherent Sources (DICS) beamformer for frequency-domain source localization using cross-spectral density (CSD) matrices.
Typical workflow:
Definition at line 98 of file inv_dics.h.
|
static |
Apply DICS beamformer to time-domain data at a single frequency.
This is an approximate application — for accurate frequency-domain source estimation, use applyDICSCsd() with CSD matrices.
| [in] | data | Data matrix (n_channels, n_times). |
| [in] | tmin | Start time (s). |
| [in] | tstep | Time step (s). |
| [in] | filters | Pre-computed DICS beamformer (must have exactly 1 frequency). |
| [in] | freqIdx | Index of the frequency filter to use (default 0). |
Definition at line 264 of file inv_dics.cpp.
|
static |
Apply DICS beamformer to CSD matrices to estimate source power per frequency.
power_i(f) = trace(W_f_i @ CSD_f @ W_f_i^T)
| [in] | csdMatrices | CSD matrices (one per frequency). |
| [in] | frequencies | Center frequencies (Hz). |
| [in] | filters | Pre-computed DICS beamformer from makeDICS(). |
Definition at line 211 of file inv_dics.cpp.
|
static |
Compute DICS beamformer spatial filters for one or more frequencies.
| [in] | info | Measurement info. |
| [in] | forward | Forward solution containing the leadfield. |
| [in] | csdMatrices | Cross-spectral density matrices, one per frequency bin. Each is (n_channels, n_channels), may be complex. |
| [in] | frequencies | Center frequency (Hz) for each CSD matrix. |
| [in] | reg | Regularization parameter (default 0.05). |
| [in] | realFilter | If true, take real part of CSD before computing filter (default true). |
| [in] | noiseCov | Noise covariance for whitening. If empty, identity whitening. |
| [in] | pickOri | Orientation selection mode. |
| [in] | weightNorm | Weight normalization strategy. |
| [in] | reduceRank | Reduce leadfield rank by 1. |
| [in] | invMethod | Denominator inversion method. |
Definition at line 67 of file inv_dics.cpp.