Skip to main content

AbstractMetric

Namespace: CONNECTIVITYLIB  ·  Library: Connectivity Library

#include <connectivity/abstractmetric.h>

class CONNECTIVITYLIB::AbstractMetric

Static base for every estimator in CONNECTIVITYLIB.

Holds the two pieces of global state that the dispatcher (Connectivity::calculate) must set before any metric runs: m_bStorageModeIsActive enables caching of per-trial tapered spectra and CSDs in ConnectivitySettings::IntermediateTrialData, which lets a second metric reuse the FFT work done by the first.

m_iNumberBinStart and m_iNumberBinAmount define the frequency-bin window over which each metric averages its spectral output into the single scalar weight stored on each network edge.

Static control knobs (storage mode, frequency band) shared by all CONNECTIVITYLIB metrics.

Inheritance


Public Methods

AbstractMetric()

Constructs a AbstractMetric object.


Authors of this file