Amplitude Envelope Correlation connectivity. More...
#include <connectivity_aec.h>
Static Public Member Functions | |
| static Eigen::MatrixXd | compute (const Eigen::MatrixXd &matData) |
| static Eigen::MatrixXd | computeOrthogonalized (const Eigen::MatrixXd &matData) |
| static Eigen::VectorXd | hilbertEnvelope (const Eigen::VectorXd &signal) |
| static double | pearsonCorrelation (const Eigen::VectorXd &a, const Eigen::VectorXd &b) |
Amplitude Envelope Correlation connectivity.
Definition at line 51 of file connectivity_aec.h.
|
static |
Compute AEC between all pairs of signals.
Steps: Hilbert envelope → Pearson correlation of envelopes.
| [in] | matData | Bandpassed data (n_signals x n_samples). |
Definition at line 92 of file connectivity_aec.cpp.
|
static |
Compute orthogonalized AEC (corrected for volume conduction / source leakage).
For each pair (i, j): orthogonalize j w.r.t. i, compute envelope correlation, then symmetrise by averaging AEC(i→j) and AEC(j→i).
| [in] | matData | Bandpassed data (n_signals x n_samples). |
Definition at line 122 of file connectivity_aec.cpp.
|
static |
Compute the analytic signal envelope via Hilbert transform (using FFT).
| [in] | signal | Real-valued signal (n_samples). |
Definition at line 175 of file connectivity_aec.cpp.
|
static |
Pearson correlation between two vectors.
| [in] | a | First vector. |
| [in] | b | Second vector (same length). |
Definition at line 184 of file connectivity_aec.cpp.