Skip to main content

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.

src/examples/ex_connectivity_metrics/main.cpp
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:

Returns:

  • Network — The connectivity information in form of a network structure.

Example​

Used in examples​

ex_connectivity_metrics​

Connectivity metrics on synthetic data with a known coupling.

src/examples/ex_connectivity_metrics/main.cpp, line 184
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​