LCMV beamformer (time-domain). More...
#include <inv_lcmv.h>
LCMV beamformer (time-domain).
Linearly Constrained Minimum Variance (LCMV) beamformer for MEG/EEG source localization.
Typical workflow:
Definition at line 75 of file inv_lcmv.h.
|
static |
Apply LCMV beamformer to evoked data to produce source time courses.
stc = W @ (whitener @ proj @ evoked.data)
| [in] | evoked | Evoked data (averaged, channel x time). |
| [in] | filters | Pre-computed LCMV beamformer from makeLCMV(). |
Definition at line 212 of file inv_lcmv.cpp.
|
static |
Apply LCMV beamformer to a data covariance to produce a source power map.
power_i = trace(W_i @ Cm @ W_i^T)
| [in] | dataCov | Data covariance matrix. |
| [in] | filters | Pre-computed LCMV beamformer from makeLCMV(). |
Definition at line 301 of file inv_lcmv.cpp.
|
static |
Apply LCMV beamformer to a list of epochs.
| [in] | epochs | List of epoch data matrices (n_channels x n_times each). |
| [in] | tmin | Start time of each epoch (seconds). |
| [in] | tstep | Time step (1/sfreq). |
| [in] | filters | Pre-computed LCMV beamformer from makeLCMV(). |
Definition at line 331 of file inv_lcmv.cpp.
|
static |
Apply LCMV beamformer to raw data matrix.
| [in] | data | Data matrix (n_channels, n_times). |
| [in] | tmin | Start time in seconds. |
| [in] | tstep | Time step in seconds. |
| [in] | filters | Pre-computed LCMV beamformer from makeLCMV(). |
Definition at line 268 of file inv_lcmv.cpp.
|
static |
Compute LCMV beamformer spatial filters.
| [in] | info | Measurement info (for channel matching). |
| [in] | forward | Forward solution containing the leadfield. |
| [in] | dataCov | Data covariance matrix (from recording epoch). |
| [in] | reg | Regularization parameter (default 0.05 = 5% of trace). |
| [in] | noiseCov | Noise covariance for whitening. If empty, identity whitening. |
| [in] | pickOri | Orientation selection mode (default: None = keep all). |
| [in] | weightNorm | Weight normalization (default: UnitNoiseGain). |
| [in] | reduceRank | Reduce leadfield rank by 1 (default: false). |
| [in] | invMethod | Inversion method for denominator (default: Matrix). |
Definition at line 55 of file inv_lcmv.cpp.
|
static |
Compute the LCMV resolution matrix: R = W @ G.
The resolution matrix describes the point-spread function of the beamformer. Each row shows how a unit source at one location maps through the forward model and back through the beamformer. Ideally R = I (perfect resolution).
| [in] | forward | Forward solution with leadfield. |
| [in] | info | Measurement info. |
| [in] | dataCov | Data covariance. |
| [in] | reg | Regularization (default 0.05). |
| [in] | noiseCov | Noise covariance for whitening (optional). |
Definition at line 360 of file inv_lcmv.cpp.