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

Implementation of MNELIB::MNECovMatrix. More...

#include "mne_cov_matrix.h"
#include "mne_sss_data.h"
#include "mne_proj_item.h"
#include "mne_proj_op.h"
#include <Eigen/Core>
#include <Eigen/Eigenvalues>
#include <fiff/fiff_sparse_matrix.h>
#include <fiff/fiff_ch_info.h>
#include <fiff/fiff_constants.h>
#include <fiff/fiff_stream.h>
#include <fiff/fiff_tag.h>
#include <QFile>
#include <QDebug>
Include dependency graph for mne_cov_matrix.cpp:

Go to the source code of this file.

Functions

int mne_decompose_eigen (const VectorXd &mat, VectorXd &lambda, Eigen::Matrix< float, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > &vectors, int dim)

Variables

constexpr int FAIL = -1
constexpr int OK = 0

Detailed Description

Implementation of MNELIB::MNECovMatrix.

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.0.0
Date
March 2026

Provides the constructors, eigen-decomposition cache and FIFF read/write helpers that round-trip the FIFFB_MNE_COV block exactly the way the MNE C tools wrote it.

Definition in file mne_cov_matrix.cpp.

Function Documentation

◆ mne_decompose_eigen()

int mne_decompose_eigen ( const VectorXd & mat,
VectorXd & lambda,
Eigen::Matrix< float, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > & vectors,
int dim )

Definition at line 50 of file mne_cov_matrix.cpp.

Variable Documentation

◆ FAIL

int FAIL = -1
constexpr

Definition at line 45 of file mne_cov_matrix.cpp.

◆ OK

int OK = 0
constexpr

Definition at line 46 of file mne_cov_matrix.cpp.