MNE-CPP  0.1.9
A Framework for Electrophysiology
Public Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
RTPROCESSINGLIB::RtCov Class Reference

Real-time covariance worker. More...

#include <rtcov.h>

Public Member Functions

 RtCov (QSharedPointer< FIFFLIB::FiffInfo > pFiffInfo)
 
FIFFLIB::FiffCov estimateCovariance (const Eigen::MatrixXd &matData, int iNewMaxSamples)
 

Static Protected Member Functions

static RtCovComputeResult compute (const Eigen::MatrixXd &matData)
 
static void reduce (RtCovComputeResult &finalResult, const RtCovComputeResult &tempResult)
 

Protected Attributes

int m_iSamples
 
QList< Eigen::MatrixXd > m_lData
 
FIFFLIB::FiffInfo m_fiffInfo
 

Detailed Description

Real-time covariance worker.

Real-time covariance worker.

Definition at line 91 of file rtcov.h.

Inheritance diagram for RTPROCESSINGLIB::RtCov:
Inheritance graph

Member Function Documentation

◆ compute()

RtCovComputeResult RtCov::compute ( const Eigen::MatrixXd &  matData)
staticprotected

Computer multiplication with transposed.

Parameters
[in]matDataData to self multiply with.
Returns
The multiplication result.

Definition at line 148 of file rtcov.cpp.

◆ estimateCovariance()

FiffCov RtCov::estimateCovariance ( const Eigen::MatrixXd &  matData,
int  iNewMaxSamples 
)

Perform actual covariance estimation.

Parameters
[in]inputDataData to estimate the covariance from.

Definition at line 70 of file rtcov.cpp.

◆ reduce()

void RtCov::reduce ( RtCovComputeResult finalResult,
const RtCovComputeResult tempResult 
)
staticprotected

Computer multiplication with transposed.

Parameters
[out]finalResultThe final covariance estimation.
[in]tempResultThe intermediate result from the compute function.

Definition at line 158 of file rtcov.cpp.

Member Data Documentation

◆ m_fiffInfo

FIFFLIB::FiffInfo RTPROCESSINGLIB::RtCov::m_fiffInfo
protected

Holds the fiff measurement information.

Definition at line 131 of file rtcov.h.

◆ m_iSamples

int RTPROCESSINGLIB::RtCov::m_iSamples
protected

The number of stored samples.

Definition at line 127 of file rtcov.h.

◆ m_lData

QList<Eigen::MatrixXd> RTPROCESSINGLIB::RtCov::m_lData
protected

The stored data blocks.

Definition at line 129 of file rtcov.h.


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