v2.0.0
Loading...
Searching...
No Matches
CONNECTIVITYLIB::Connectivity Class Reference

Runs the selected functional-connectivity metrics over a ConnectivitySettings batch. More...

#include <connectivity.h>

Public Types

typedef QSharedPointer< Connectivity > SPtr
typedef QSharedPointer< const Connectivity > ConstSPtr

Public Member Functions

 Connectivity ()

Static Public Member Functions

static QList< Network > calculate (ConnectivitySettings &connectivitySettings)

Detailed Description

Runs the selected functional-connectivity metrics over a ConnectivitySettings batch.

Dispatcher that runs one or more functional-connectivity estimators over a batch of pre-processed trials and returns one Network per estimator.

The selected methods are read from CONNECTIVITYLIB::ConnectivitySettings::getConnectivityMethods "ConnectivitySettings::getConnectivityMethods" and matched by string against the supported metric set ("COR", "XCOR", "COH", "IMAGCOH", "PLI", "USPLI", "WPLI", "DSWPLI", "PLV", "GC", "DTF", "PDC"). All spectral metrics share the same DPSS tapered FFT and CSD accumulator inside ConnectivitySettings, so running e.g. PLI + wPLI + dwPLI in one call costs only one FFT pass.

Definition at line 88 of file connectivity.h.

Member Typedef Documentation

◆ ConstSPtr

Const shared pointer type for Connectivity.

Definition at line 92 of file connectivity.h.

◆ SPtr

Shared pointer type for Connectivity.

Definition at line 91 of file connectivity.h.

Constructor & Destructor Documentation

◆ Connectivity()

Connectivity::Connectivity ( )
explicit

Constructs a Connectivity object.

Definition at line 72 of file connectivity.cpp.

Member Function Documentation

◆ calculate()

QList< Network > Connectivity::calculate ( ConnectivitySettings & connectivitySettings)
static

Computes the network based on the current settings.

Parameters
[in,out]connectivitySettingsInput trials and requested methods; per-trial spectral caches are filled in during computation.
Returns
Returns the list with calculated networks for each provided method.

Definition at line 78 of file connectivity.cpp.


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