v2.0.0
Loading...
Searching...
No Matches
RTPROCESSINGLIB::RtNoiseWorker Class Reference

Background worker that computes a noise power spectral density estimate from accumulated data blocks. More...

#include <rt_noise.h>

Signals

void resultReady (const Eigen::MatrixXd &matSpecData)

Public Member Functions

 RtNoiseWorker (qint32 iFftLength, FIFFLIB::FiffInfo::SPtr pFiffInfo, qint32 iDataLength)
void doWork (const Eigen::MatrixXd &matData)

Detailed Description

Background worker that computes a noise power spectral density estimate from accumulated data blocks.

Definition at line 72 of file rt_noise.h.

Inheritance diagram for RTPROCESSINGLIB::RtNoiseWorker:
Inheritance graph

Constructor & Destructor Documentation

◆ RtNoiseWorker()

RtNoiseWorker::RtNoiseWorker ( qint32 iFftLength,
FIFFLIB::FiffInfo::SPtr pFiffInfo,
qint32 iDataLength )
explicit

Creates the worker.

Parameters
[in]iFftLengthFFT length (number of samples per window).
[in]pFiffInfoAssociated Fiff Information.
[in]iDataLengthNumber of blocks to accumulate before computing the spectrum.

Definition at line 72 of file rt_noise.cpp.

Member Function Documentation

◆ doWork()

void RtNoiseWorker::doWork ( const Eigen::MatrixXd & matData)

Process one data block, accumulate, and emit the spectrum when enough blocks are collected.

Parameters
[in]matDataThe incoming data block (channels x samples).

Definition at line 84 of file rt_noise.cpp.

◆ resultReady

void RTPROCESSINGLIB::RtNoiseWorker::resultReady ( const Eigen::MatrixXd & matSpecData)
signal

Emitted when a new power spectral density matrix is available.

Parameters
[out]matSpecDataThe computed spectrum (channels x frequency bins) in dB.

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