ImagCoherence
Namespace: CONNECTIVITYLIB · Library: Connectivity Library
#include <connectivity/imagcoherence.h>
class CONNECTIVITYLIB::ImagCoherence
Computes the imaginary part of complex coherency for every channel pair.
The estimator inherits the volume-conduction rejection property derived by Nolte et al. (NeuroImage, 2004): zero-lag mixing of independent sources contributes only to the real axis and is removed, so the returned edge weights reflect interactions with non-zero conduction delay only. The cross-spectral accumulation is delegated to Coherency::calculateImag; this class is the public entry point used by the dispatcher in Connectivity.
Imaginary-coherence estimator (Nolte et al. 2004); rejects zero-lag volume-conduction mixing.
Network imagCoherence = ImagCoherence::calculate(settings);
imagCoherence.setFrequencyRange(8.0f, 12.0f);
const double icoh01 = std::fabs(edgeWeight(imagCoherence, 0, 1));
Inheritance
Public Methods
ImagCoherence()
Constructs a ImagCoherence object.
Static Methods
calculate(connectivitySettings)
Calculates the imaginary coherence between the rows of the data matrix.
Parameters:
- connectivitySettings : ConnectivitySettings & The input data and parameters.
Returns:
- Network — The connectivity information in form of a network structure.
Example
- Full source:
src/examples/ex_connectivity_metrics/main.cpp - Build target:
ex_connectivity_metrics(runs under CTest)
Used in examples
ex_connectivity_metrics
Connectivity metrics on synthetic data with a known coupling.
Network imagCoherence = ImagCoherence::calculate(settings);
imagCoherence.setFrequencyRange(8.0f, 12.0f);
const double icoh01 = std::fabs(edgeWeight(imagCoherence, 0, 1));
ok &= expect(icoh01 > 0.2, QString("|ImCOH| 0-1 %1 > 0.2 (12 ms lag)").arg(icoh01));
Authors of this file
- Daniel Strohmeier <daniel.strohmeier@gmail.com>
- Lorenz Esch <lorenz.esch@tu-ilmenau.de>
- Juan GPC <jgarciaprieto@mgh.harvard.edu>
- Gabriel Motta <gabrielbenmotta@gmail.com>
- Christoph Dinh <christoph.dinh@mne-cpp.org>