Real-time noise power-spectral-density estimation from streaming data blocks. More...
#include "../dsp_global.h"#include <fiff/fiff_info.h>#include <QThread>#include <QMutex>#include <QSharedPointer>#include <Eigen/Core>

Go to the source code of this file.
Classes | |
| class | RTPROCESSINGLIB::RtNoiseWorker |
| Background worker that computes a noise power spectral density estimate from accumulated data blocks. More... | |
| class | RTPROCESSINGLIB::RtNoise |
| Controller that manages RtNoiseWorker for real-time noise spectrum estimation. More... | |
Namespaces | |
| namespace | RTPROCESSINGLIB |
Real-time noise power-spectral-density estimation from streaming data blocks.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors
RtNoiseWorker accumulates a configurable number of contiguous data blocks, applies an FFT of user-defined length and averages the squared magnitude spectra into a running noise-PSD estimate. The estimator follows the classical periodogram-averaging recipe (Welch with rectangular windowing and no overlap), so longer accumulation windows trade temporal responsiveness for spectral variance reduction. RtNoise is the QObject front-end that owns the worker, forwards configuration changes, and re- emits the PSD result back on the GUI thread.
This estimate is what feeds the live noise-spectrum display and provides a sanity-check companion to RtCov whenever a quick frequency-domain view of the noise floor is more informative than the full channel–channel covariance matrix.
Definition in file rt_noise.h.