Implementation of CONNECTIVITYLIB::Connectivity - the dispatcher that runs the requested functional-connectivity metrics over a CONNECTIVITYLIB::ConnectivitySettings batch. More...
#include "connectivity.h"#include "connectivitysettings.h"#include "network/network.h"#include "metrics/correlation.h"#include "metrics/crosscorrelation.h"#include "metrics/coherence.h"#include "metrics/imagcoherence.h"#include "metrics/phaselagindex.h"#include "metrics/phaselockingvalue.h"#include "metrics/weightedphaselagindex.h"#include "metrics/unbiasedsquaredphaselagindex.h"#include "metrics/debiasedsquaredweightedphaselagindex.h"#include "metrics/granger_causality.h"#include "metrics/directed_transfer_function.h"#include "metrics/partial_directed_coherence.h"#include <QDebug>#include <QFutureSynchronizer>#include <QtConcurrent>
Go to the source code of this file.
Implementation of CONNECTIVITYLIB::Connectivity - the dispatcher that runs the requested functional-connectivity metrics over a CONNECTIVITYLIB::ConnectivitySettings batch.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2017-2026 MNE-CPP Authors
The single entry point CONNECTIVITYLIB::Connectivity::calculate inspects the list of method names on CONNECTIVITYLIB::ConnectivitySettings and routes each request to the corresponding estimator (Coherence, Imaginary Coherence, PLI / wPLI / dwPLI / USPLI, PLV, Pearson and cross correlation, Granger Causality, DTF, PDC). All spectral metrics share the DPSS tapered FFT and CSD accumulator cached on the settings object, so requesting several methods at once costs only one FFT pass.
Definition in file connectivity.cpp.