MNE-CPP  0.1.9
A Framework for Electrophysiology
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
MNELIB::MneCovMatrix Class Reference

Covariance matrix storage. More...

#include <mne_cov_matrix.h>

Public Types

typedef QSharedPointer< MneCovMatrixSPtr
 
typedef QSharedPointer< const MneCovMatrixConstSPtr
 

Public Member Functions

 MneCovMatrix (int p_kind, int p_ncov, const QStringList &p_names, double *p_cov, double *p_cov_diag, FIFFLIB::FiffSparseMatrix *p_cov_sparse)
 
 ~MneCovMatrix ()
 

Static Public Member Functions

static MneCovMatrixmne_dup_cov (MneCovMatrix *c)
 
static MneCovMatrixmne_new_cov_dense (int kind, int ncov, const QStringList &names, double *cov)
 
static MneCovMatrixmne_new_cov_diag (int kind, int ncov, const QStringList &names, double *cov_diag)
 
static MneCovMatrixmne_new_cov_sparse (int kind, int ncov, const QStringList &names, FIFFLIB::FiffSparseMatrix *cov_sparse)
 
static MneCovMatrixmne_new_cov (int kind, int ncov, const QStringList &names, double *cov, double *cov_diag)
 
static int mne_is_diag_cov (MneCovMatrix *c)
 
static int mne_add_inv_cov (MneCovMatrix *c)
 
static int condition_cov (MneCovMatrix *c, float rank_threshold, int use_rank)
 
static int mne_decompose_eigen_cov_small (MneCovMatrix *c, float p_small, int use_rank)
 
static int mne_decompose_eigen_cov (MneCovMatrix *c)
 

Public Attributes

int kind
 
int ncov
 
int nfree
 
int nproj
 
int nzero
 
QStringList names
 
double * cov
 
double * cov_diag
 
FIFFLIB::FiffSparseMatrixcov_sparse
 
double * lambda
 
double * inv_lambda
 
float ** eigen
 
double * chol
 
MneProjOpproj
 
MneSssDatasss
 
int * ch_class
 
QStringList bads
 
int nbad
 

Detailed Description

Covariance matrix storage.

Implements an MNE Covariance Matrix (Replaces *mneCovMatrix,mneCovMatrixRec; struct of MNE-C mne_types.h).

Definition at line 96 of file mne_cov_matrix.h.

Member Typedef Documentation

◆ ConstSPtr

typedef QSharedPointer<const MneCovMatrix> MNELIB::MneCovMatrix::ConstSPtr

Const shared pointer type for MneCovMatrix.

Definition at line 100 of file mne_cov_matrix.h.

◆ SPtr

typedef QSharedPointer<MneCovMatrix> MNELIB::MneCovMatrix::SPtr

Shared pointer type for MneCovMatrix.

Definition at line 99 of file mne_cov_matrix.h.

Constructor & Destructor Documentation

◆ MneCovMatrix()

MneCovMatrix::MneCovMatrix ( int  p_kind,
int  p_ncov,
const QStringList &  p_names,
double *  p_cov,
double *  p_cov_diag,
FIFFLIB::FiffSparseMatrix p_cov_sparse 
)

Constructs the MNE Covariance Matrix Refactored: new_cov (mne_cov_matrix.c)

Definition at line 274 of file mne_cov_matrix.cpp.

◆ ~MneCovMatrix()

MneCovMatrix::~MneCovMatrix ( )

Destroys the MNE Covariance Matrix Refactored: mne_free_cov (mne_cov_matrix.c)

Definition at line 302 of file mne_cov_matrix.cpp.


The documentation for this class was generated from the following files: