Background worker that computes a noise power spectral density estimate from accumulated data blocks.
More...
#include <rt_noise.h>
Background worker that computes a noise power spectral density estimate from accumulated data blocks.
Definition at line 72 of file rt_noise.h.
◆ RtNoiseWorker()
Creates the worker.
- Parameters
-
| [in] | iFftLength | FFT length (number of samples per window). |
| [in] | pFiffInfo | Associated Fiff Information. |
| [in] | iDataLength | Number of blocks to accumulate before computing the spectrum. |
Definition at line 72 of file rt_noise.cpp.
◆ doWork()
| void RtNoiseWorker::doWork |
( |
const Eigen::MatrixXd & | matData | ) |
|
Process one data block, accumulate, and emit the spectrum when enough blocks are collected.
- Parameters
-
| [in] | matData | The 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] | matSpecData | The computed spectrum (channels x frequency bins) in dB. |
The documentation for this class was generated from the following files: