Time-lagged cross-correlation estimator; broadband, sensitive to delayed coupling. More...
#include <crosscorrelation.h>
Public Types | |
| typedef QSharedPointer< CrossCorrelation > | SPtr |
| typedef QSharedPointer< const CrossCorrelation > | ConstSPtr |
| Public Types inherited from CONNECTIVITYLIB::AbstractMetric | |
| typedef QSharedPointer< AbstractMetric > | SPtr |
| typedef QSharedPointer< const AbstractMetric > | ConstSPtr |
Public Member Functions | |
| CrossCorrelation () | |
| Public Member Functions inherited from CONNECTIVITYLIB::AbstractMetric | |
| AbstractMetric () | |
Static Public Member Functions | |
| static Network | calculate (ConnectivitySettings &connectivitySettings) |
Static Protected Member Functions | |
| static void | compute (ConnectivitySettings::IntermediateTrialData &inputData, Eigen::MatrixXd &matDist, QMutex &mutex, int iNfft, const QPair< Eigen::MatrixXd, Eigen::VectorXd > &tapers) |
Additional Inherited Members | |
| Static Public Attributes inherited from CONNECTIVITYLIB::AbstractMetric | |
| static bool | m_bStorageModeIsActive = false |
| static int | m_iNumberBinStart = -1 |
| static int | m_iNumberBinAmount = -1 |
Time-lagged cross-correlation estimator; broadband, sensitive to delayed coupling.
Computes the time-lagged cross-correlation between every channel pair via the inverse FFT of the DPSS-tapered cross-spectrum, and reduces it to the maximum absolute correlation over the lag axis.
Per-trial computations are dispatched through QtConcurrent::mapped and accumulated under a single QMutex. The estimator is broadband and does not reject zero-lag mixing, but - unlike Correlation - is sensitive to delayed coupling because the lag axis is searched.
Definition at line 88 of file crosscorrelation.h.

| typedef QSharedPointer<const CrossCorrelation> CONNECTIVITYLIB::CrossCorrelation::ConstSPtr |
Const shared pointer type for CrossCorrelation.
Definition at line 93 of file crosscorrelation.h.
| typedef QSharedPointer<CrossCorrelation> CONNECTIVITYLIB::CrossCorrelation::SPtr |
Shared pointer type for CrossCorrelation.
Definition at line 92 of file crosscorrelation.h.
|
explicit |
Constructs a CrossCorrelation object.
Definition at line 55 of file crosscorrelation.cpp.
|
static |
Calculates the cross correlation between the rows of the data matrix.
| [in] | connectivitySettings | The input data and parameters. |
Definition at line 61 of file crosscorrelation.cpp.
|
staticprotected |
Calculates the connectivity matrix for a given input data matrix based on the cross correlation coefficient.
| [in] | inputData | The input data. |
| [out] | matDist | The sum of all edge weights. |
| [in] | mutex | The mutex used to safely access matDist. |
| [in] | iNfft | The FFT length. |
| [in] | tapers | The taper information. |
Definition at line 159 of file crosscorrelation.cpp.