v2.0.0
Loading...
Searching...
No Matches
connectivity.cpp File Reference

Implementation of CONNECTIVITYLIB::Connectivity - the dispatcher that runs the requested functional-connectivity metrics over a CONNECTIVITYLIB::ConnectivitySettings batch. More...

Include dependency graph for connectivity.cpp:

Go to the source code of this file.

Detailed Description

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

Author
Lorenz Esch loren.nosp@m.z.es.nosp@m.ch@tu.nosp@m.-ilm.nosp@m.enau..nosp@m.de; mfarisyahya mfari.nosp@m.syah.nosp@m.ya@gm.nosp@m.ail..nosp@m.com; Daniel Strohmeier danie.nosp@m.l.st.nosp@m.rohme.nosp@m.ier@.nosp@m.gmail.nosp@m..com; Gabriel Motta gabri.nosp@m.elbe.nosp@m.nmott.nosp@m.a@gm.nosp@m.ail.c.nosp@m.om; Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
0.1.0
Date
March 2017

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.