51#include <QFutureSynchronizer>
52#include <QtConcurrent>
81 QList<Network> results;
85 if (lMethods.contains(
"WPLI")) {
89 if (lMethods.contains(
"USPLI")) {
93 if (lMethods.contains(
"COR")) {
97 if (lMethods.contains(
"XCOR")) {
101 if (lMethods.contains(
"PLI")) {
105 if (lMethods.contains(
"COH")) {
109 if (lMethods.contains(
"IMAGCOH")) {
113 if (lMethods.contains(
"PLV")) {
117 if (lMethods.contains(
"DSWPLI")) {
121 if (lMethods.contains(
"GC")) {
125 if (lMethods.contains(
"DTF")) {
129 if (lMethods.contains(
"PDC")) {
133 qWarning() <<
"Total" << timer.elapsed();
134 qDebug() <<
"Connectivity::calculateMultiMethods - Calculated" << lMethods <<
"for" << connectivitySettings.
size() <<
"trials in" << timer.elapsed() <<
"msecs.";
Front-end dispatcher that runs the requested connectivity metrics over a CONNECTIVITYLIB::Connectivit...
Graph container that stores the result of one functional-connectivity metric as nodes (sources/sensor...
Input-data and parameter container shared by every functional-connectivity metric in CONNECTIVITYLIB.
Spectral Granger Causality (Geweke 1982, Bressler & Seth 2011) between every channel pair,...
Magnitude-squared coherence (MSC) between every channel pair, band-averaged over the selected DPSS sp...
Debiased squared Weighted Phase Lag Index (Vinck et al., 2011) between every channel pair.
Unbiased estimator of squared Phase Lag Index between every channel pair.
Phase Lag Index (Stam, Nolte & Daffertshofer 2007) between every channel pair.
Time-lagged cross-correlation between every channel pair, computed via the inverse FFT of the cross-s...
Partial Directed Coherence (Baccala & Sameshima 2001) between every channel pair, derived from a fitt...
Directed Transfer Function (Kaminski & Blinowska 1991) between every channel pair,...
Weighted Phase Lag Index (Vinck, Oostenveld, van Wingerden, Battaglia & Pennartz 2011) between every ...
Pearson correlation coefficient between every pair of zero-lag time-domain channels.
Volume-conduction-robust imaginary coherence (Nolte et al., 2004) between every channel pair.
Phase Locking Value (Lachaux, Rodriguez, Martinerie & Varela 1999) between every channel pair.
Functional connectivity metrics (coherence, PLV, cross-correlation, etc.).
static QList< Network > calculate(ConnectivitySettings &connectivitySettings)
Aggregates trial data, spectral cache and node geometry shared by all CONNECTIVITYLIB metrics.
const QStringList & getConnectivityMethods() const
static Network calculate(ConnectivitySettings &connectivitySettings)
static Network calculate(ConnectivitySettings &connectivitySettings)
static Network calculate(ConnectivitySettings &connectivitySettings)
static Network calculate(ConnectivitySettings &connectivitySettings)
static Network calculate(ConnectivitySettings &connectivitySettings)
static Network calculate(ConnectivitySettings &connectivitySettings)
static Network calculate(ConnectivitySettings &connectivitySettings)
static Network calculate(ConnectivitySettings &connectivitySettings)
static Network calculate(ConnectivitySettings &connectivitySettings)
static Network calculate(ConnectivitySettings &connectivitySettings)
static Network calculate(ConnectivitySettings &connectivitySettings)
static Network calculate(ConnectivitySettings &connectivitySettings)