|
MNE-CPP 0.1.9
A Framework for Electrophysiology
|
Real-time Noise estimation. More...
#include <rtnoise.h>
Public Types | |
| typedef QSharedPointer< RtNoise > | SPtr |
| typedef QSharedPointer< const RtNoise > | ConstSPtr |
Signals | |
| void | SpecCalculated (Eigen::MatrixXd) |
Public Member Functions | |
| RtNoise (qint32 p_iMaxSamples, FIFFLIB::FiffInfo::SPtr p_pFiffInfo, qint32 p_dataLen, QObject *parent=0) | |
| ~RtNoise () | |
| void | append (const Eigen::MatrixXd &p_DataSegment) |
| bool | isRunning () |
| virtual bool | start () |
| virtual bool | stop () |
Public Attributes | |
| QMutex | ReadMutex |
| Eigen::MatrixXd | m_matSpecData |
| bool | m_bSendDataToBuffer |
Protected Member Functions | |
| virtual void | run () |
| QVector< float > | hanning (int N, short itype) |
Protected Attributes | |
| int | m_iNumOfBlocks |
| int | m_iBlockSize |
| int | m_iSensors |
| int | m_iBlockIndex |
| Eigen::MatrixXd | m_matCircBuf |
Real-time Noise estimation.
Real-time noise Spectrum estimation

| typedef QSharedPointer<const RtNoise> RTPROCESSINGLIB::RtNoise::ConstSPtr |
| typedef QSharedPointer<RtNoise> RTPROCESSINGLIB::RtNoise::SPtr |
|
explicit |
Creates the real-time covariance estimation object.
| [in] | p_iMaxSamples | Number of samples to use for each data chunk. |
| [in] | p_pFiffInfo | Associated Fiff Information. |
| [in] | parent | Parent QObject (optional). |
Definition at line 64 of file rtnoise.cpp.
| RtNoise::~RtNoise | ( | ) |
Destroys the Real-time noise estimation object.
Definition at line 95 of file rtnoise.cpp.
| void RtNoise::append | ( | const Eigen::MatrixXd & | p_DataSegment | ) |
Slot to receive incoming data.
| [in] | p_DataSegment | Data to estimate the spectrum from -> ToDo Replace this by shared data pointer. |
Definition at line 150 of file rtnoise.cpp.
|
protected |
Definition at line 104 of file rtnoise.cpp.
|
inline |
|
protectedvirtual |
The starting point for the thread. After calling start(), the newly created thread calls this function. Returning from this method will end the execution of the thread. Pure virtual method inherited by QThread.
Definition at line 188 of file rtnoise.cpp.
|
signal |
Signal which is emitted when a new data Matrix is estimated.
| [out] |
|
virtual |
Starts the RtNoise by starting the producer's thread.
Definition at line 161 of file rtnoise.cpp.
|
virtual |
Stops the RtNoise by stopping the producer's thread.
Definition at line 175 of file rtnoise.cpp.
|
protected |