v2.0.0
Loading...
Searching...
No Matches
inv_convenience.cpp File Reference

Implementation of the apply-inverse / compute-PSD convenience helpers declared in inv_convenience.h. More...

#include "inv_convenience.h"
#include "minimum_norm/inv_minimum_norm.h"
#include <mne/mne_inverse_operator.h>
#include <fiff/fiff_evoked.h>
#include <fiff/fiff_raw_data.h>
#include <fiff/fiff_cov.h>
#include <fiff/fiff_info.h>
#include <QDebug>
#include <Eigen/Dense>
#include <Eigen/Eigenvalues>
#include <cmath>
Include dependency graph for inv_convenience.cpp:

Go to the source code of this file.

Detailed Description

Implementation of the apply-inverse / compute-PSD convenience helpers declared in inv_convenience.h.

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.2.1
Date
May 2026

Implements the streaming epoch / raw loops by constructing a single InvMinimumNorm kernel and re-applying it across data chunks, the SNR helper that combines GFP-based signal estimates with the noise normalisation of the inverse operator, and the Welch PSD that re-uses the utils/spectral primitives to keep the spectral pipeline identical to the one used elsewhere in mne-cpp.

Definition in file inv_convenience.cpp.