v2.0.0
Loading...
Searching...
No Matches
rt_connectivity.h File Reference

Real-time worker that re-estimates a connectivity network from incoming data epochs. More...

#include "../dsp_global.h"
#include <connectivity/network/network.h>
#include <QObject>
#include <QThread>
Include dependency graph for rt_connectivity.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  RTPROCESSINGLIB::RtConnectivityWorker
 Background worker thread that computes functional connectivity metrics in real time. More...
class  RTPROCESSINGLIB::RtConnectivity
 Controller that manages RtConnectivityWorker for online connectivity computation. More...

Namespaces

namespace  FIFFLIB
 FIFF file I/O, in-memory data structures and high-level readers/writers.
namespace  CONNECTIVITYLIB
 Functional connectivity metrics (coherence, PLV, cross-correlation, etc.).
namespace  RTPROCESSINGLIB

Detailed Description

Real-time worker that re-estimates a connectivity network from incoming data epochs.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
2.1.0
Date
March 2026

RtConnectivity drives the CONNECTIVITYLIB connectivity estimators (coherence, imaginary coherence, phase-locking value, weighted phase-lag index, amplitude envelope correlation, …) from a background QThread. Each arriving data block is forwarded to the worker, which updates the windowed connectivity estimate and emits a CONNECTIVITYLIB::Network result carrying the current edge weights and node positions ready for visualisation.

The actual estimator and its parameters — frequency band, window length, connectivity measure — are configured through a CONNECTIVITYLIB::ConnectivitySettings instance, so this header only adds the threading, lifecycle and signal plumbing on top of the existing batch implementation.

Definition in file rt_connectivity.h.