MNE-CPP  0.1.9
A Framework for Electrophysiology
Public Types | Public Member Functions | Static Public Member Functions | Static Protected Member Functions | List of all members
CONNECTIVITYLIB::DebiasedSquaredWeightedPhaseLagIndex Class Reference

This class computes the weighted phase lag index connectivity metric. More...

#include <debiasedsquaredweightedphaselagindex.h>

Public Types

typedef QSharedPointer< DebiasedSquaredWeightedPhaseLagIndexSPtr
 
typedef QSharedPointer< const DebiasedSquaredWeightedPhaseLagIndexConstSPtr
 
- Public Types inherited from CONNECTIVITYLIB::AbstractMetric
typedef QSharedPointer< AbstractMetricSPtr
 
typedef QSharedPointer< const AbstractMetricConstSPtr
 

Public Member Functions

 DebiasedSquaredWeightedPhaseLagIndex ()
 
- 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, QVector< QPair< int, Eigen::MatrixXcd > > &vecPairCsdSum, QVector< QPair< int, Eigen::MatrixXd > > &vecPairCsdImagAbsSum, QVector< QPair< int, Eigen::MatrixXd > > &vecPairCsdImagSqrdSum, QMutex &mutex, int iNRows, int iNFreqs, int iNfft, const QPair< Eigen::MatrixXd, Eigen::VectorXd > &tapers)
 
static void computeDSWPLI (ConnectivitySettings &connectivitySettings, Network &finalNetwork)
 

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
 

Detailed Description

This class computes the weighted phase lag index connectivity metric.

This class computes the weighted phase lag index connectivity metric.

Definition at line 86 of file debiasedsquaredweightedphaselagindex.h.

Inheritance diagram for CONNECTIVITYLIB::DebiasedSquaredWeightedPhaseLagIndex:
Inheritance graph

Member Typedef Documentation

◆ ConstSPtr

Const shared pointer type for DebiasedSquaredWeightedPhaseLagIndex.

Definition at line 91 of file debiasedsquaredweightedphaselagindex.h.

◆ SPtr

Shared pointer type for DebiasedSquaredWeightedPhaseLagIndex.

Definition at line 90 of file debiasedsquaredweightedphaselagindex.h.

Constructor & Destructor Documentation

◆ DebiasedSquaredWeightedPhaseLagIndex()

DebiasedSquaredWeightedPhaseLagIndex::DebiasedSquaredWeightedPhaseLagIndex ( )
explicit

Constructs a DebiasedSquaredWeightedPhaseLagIndex object.

Definition at line 79 of file debiasedsquaredweightedphaselagindex.cpp.

Member Function Documentation

◆ calculate()

Network DebiasedSquaredWeightedPhaseLagIndex::calculate ( ConnectivitySettings connectivitySettings)
static

Calculates the debiased squared weighted phase lag index between the rows of the data matrix.

Parameters
[in]connectivitySettingsThe input data and parameters.
Returns
The connectivity information in form of a network structure.

Definition at line 85 of file debiasedsquaredweightedphaselagindex.cpp.

◆ compute()

void DebiasedSquaredWeightedPhaseLagIndex::compute ( ConnectivitySettings::IntermediateTrialData inputData,
QVector< QPair< int, Eigen::MatrixXcd > > &  vecPairCsdSum,
QVector< QPair< int, Eigen::MatrixXd > > &  vecPairCsdImagAbsSum,
QVector< QPair< int, Eigen::MatrixXd > > &  vecPairCsdImagSqrdSum,
QMutex &  mutex,
int  iNRows,
int  iNFreqs,
int  iNfft,
const QPair< Eigen::MatrixXd, Eigen::VectorXd > &  tapers 
)
staticprotected

Computes the DSWPLI values. This function gets called in parallel.

Parameters
[in]inputDataThe input data.
[out]

Definition at line 190 of file debiasedsquaredweightedphaselagindex.cpp.

◆ computeDSWPLI()

void DebiasedSquaredWeightedPhaseLagIndex::computeDSWPLI ( ConnectivitySettings connectivitySettings,
Network finalNetwork 
)
staticprotected

Reduces the DSWPLI computation to a final result.

Parameters
[out]connectivitySettingsThe input data.
[in]finalNetworkThe final network.

Definition at line 337 of file debiasedsquaredweightedphaselagindex.cpp.


The documentation for this class was generated from the following files: