Connectivity module

Connectivity measures

Available metrics:
Some utilities:
  • jackknife resampling

  • cross-spectral density (CSD)

Todo

  • PDC

  • Epoch based vs Continuous !?

  • Coherence

  • Imaginary Coherence

  • Phase Coherence

  • SL (Synchronization Likelihood)

  • PLT (Phase Lag Time)

  • AEC (amplitude envelope correlation)

Update:
  • 16/11/2023: added Granger Causality

  • 10/11/2023: moved simulate_(V)ar to pyeeg.simulate

  • 09/11/2023 Added phase_transfer_entropy, simulate_ar, simulate_var

Functions

granger_causality(X[, nlags, time_axis, verbose])

Compute the Granger causality matrix of a multivariate time series.

phase_transfer_entropy(data[, delay, binsize])

Compute Phase Transfer Entropy between each pair of channels in data.

jackknife_resample(data)

Performs jackknife resampling on numpy array.

csd_ndarray(x[, fs, nfft])

Compute the cross-spectral density between each column of x.

wPLI(x[, fs, nfft, fbands])

Weighted Phase Lag Index (wPLI).

plm(x[, fband, fs, rowvar])

Compute Phase Linearity Measurement.