MNE-CPP 0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
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.

Member Function Documentation

◆ condition_cov()

int MneCovMatrix::condition_cov ( MneCovMatrix c,
float  rank_threshold,
int  use_rank 
)
static

Definition at line 395 of file mne_cov_matrix.cpp.

◆ mne_add_inv_cov()

int MneCovMatrix::mne_add_inv_cov ( MneCovMatrix c)
static

Definition at line 371 of file mne_cov_matrix.cpp.

◆ mne_decompose_eigen_cov()

int MneCovMatrix::mne_decompose_eigen_cov ( MneCovMatrix c)
static

Definition at line 594 of file mne_cov_matrix.cpp.

◆ mne_decompose_eigen_cov_small()

int MneCovMatrix::mne_decompose_eigen_cov_small ( MneCovMatrix c,
float  p_small,
int  use_rank 
)
static

Definition at line 521 of file mne_cov_matrix.cpp.

◆ mne_dup_cov()

MneCovMatrix * MneCovMatrix::mne_dup_cov ( MneCovMatrix c)
static

Definition at line 323 of file mne_cov_matrix.cpp.

◆ mne_is_diag_cov()

int MneCovMatrix::mne_is_diag_cov ( MneCovMatrix c)
static

Definition at line 364 of file mne_cov_matrix.cpp.

◆ mne_new_cov()

static MneCovMatrix * MNELIB::MneCovMatrix::mne_new_cov ( int  kind,
int  ncov,
const QStringList &  names,
double *  cov,
double *  cov_diag 
)
inlinestatic

Definition at line 142 of file mne_cov_matrix.h.

◆ mne_new_cov_dense()

static MneCovMatrix * MNELIB::MneCovMatrix::mne_new_cov_dense ( int  kind,
int  ncov,
const QStringList &  names,
double *  cov 
)
inlinestatic

Definition at line 118 of file mne_cov_matrix.h.

◆ mne_new_cov_diag()

static MneCovMatrix * MNELIB::MneCovMatrix::mne_new_cov_diag ( int  kind,
int  ncov,
const QStringList &  names,
double *  cov_diag 
)
inlinestatic

Definition at line 126 of file mne_cov_matrix.h.

◆ mne_new_cov_sparse()

static MneCovMatrix * MNELIB::MneCovMatrix::mne_new_cov_sparse ( int  kind,
int  ncov,
const QStringList &  names,
FIFFLIB::FiffSparseMatrix cov_sparse 
)
inlinestatic

Definition at line 134 of file mne_cov_matrix.h.

Member Data Documentation

◆ bads

QStringList MNELIB::MneCovMatrix::bads

Definition at line 182 of file mne_cov_matrix.h.

◆ ch_class

int* MNELIB::MneCovMatrix::ch_class

Definition at line 181 of file mne_cov_matrix.h.

◆ chol

double* MNELIB::MneCovMatrix::chol

Definition at line 178 of file mne_cov_matrix.h.

◆ cov

double* MNELIB::MneCovMatrix::cov

Definition at line 172 of file mne_cov_matrix.h.

◆ cov_diag

double* MNELIB::MneCovMatrix::cov_diag

Definition at line 173 of file mne_cov_matrix.h.

◆ cov_sparse

FIFFLIB::FiffSparseMatrix* MNELIB::MneCovMatrix::cov_sparse

Definition at line 174 of file mne_cov_matrix.h.

◆ eigen

float** MNELIB::MneCovMatrix::eigen

Definition at line 177 of file mne_cov_matrix.h.

◆ inv_lambda

double* MNELIB::MneCovMatrix::inv_lambda

Definition at line 176 of file mne_cov_matrix.h.

◆ kind

int MNELIB::MneCovMatrix::kind

Definition at line 166 of file mne_cov_matrix.h.

◆ lambda

double* MNELIB::MneCovMatrix::lambda

Definition at line 175 of file mne_cov_matrix.h.

◆ names

QStringList MNELIB::MneCovMatrix::names

Definition at line 171 of file mne_cov_matrix.h.

◆ nbad

int MNELIB::MneCovMatrix::nbad

Definition at line 183 of file mne_cov_matrix.h.

◆ ncov

int MNELIB::MneCovMatrix::ncov

Definition at line 167 of file mne_cov_matrix.h.

◆ nfree

int MNELIB::MneCovMatrix::nfree

Definition at line 168 of file mne_cov_matrix.h.

◆ nproj

int MNELIB::MneCovMatrix::nproj

Definition at line 169 of file mne_cov_matrix.h.

◆ nzero

int MNELIB::MneCovMatrix::nzero

Definition at line 170 of file mne_cov_matrix.h.

◆ proj

MneProjOp* MNELIB::MneCovMatrix::proj

Definition at line 179 of file mne_cov_matrix.h.

◆ sss

MneSssData* MNELIB::MneCovMatrix::sss

Definition at line 180 of file mne_cov_matrix.h.


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