v2.0.0
Loading...
Searching...
No Matches
inv_beamformer_compute.h File Reference

Shared math kernels (filter derivation, source power, regularised pseudo-inverse) used by both the LCMV and DICS beamformers. More...

#include "../inv_global.h"
#include "inv_beamformer_settings.h"
#include <Eigen/Core>
Include dependency graph for inv_beamformer_compute.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  INVLIB::InvBeamformerCompute
 Core beamformer math. More...

Namespaces

namespace  INVLIB
 Inverse source estimation (MNE, dSPM, sLORETA, dipole fitting).

Detailed Description

Shared math kernels (filter derivation, source power, regularised pseudo-inverse) used by both the LCMV and DICS beamformers.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
2.1.0
Date
March 2026

INVLIB::InvBeamformerCompute is a stateless helper that holds the numerical core of every beamformer in INVLIB. It implements the unit-gain filter \(W_{ug} = (G^{T} C_m^{-1} G)^{-1} G^{T} C_m^{-1}\), the Sekihara unit-noise-gain normalisation, the NAI variant, the per-source max-power orientation search, the regularised symmetric pseudo-inverse used to invert the data covariance / CSD, and the rank-reduction step for radially-deficient MEG sphere models. Pulling this code out keeps InvLCMV and InvDICS as thin orchestration layers and ensures both algorithms share the same numerically-robust kernel.

References:

  • Van Veen et al., IEEE Trans. Biomed. Eng. 44(9), 867-880, 1997.
  • Sekihara & Nagarajan, Springer, 2008.
  • Gross & Ioannides, Phys. Med. Biol. 44, 2081-2097, 1999.

Definition in file inv_beamformer_compute.h.