ConnectivitySettings
Namespace: CONNECTIVITYLIB · Library: Connectivity Library
#include <connectivity/connectivitysettings.h>
class CONNECTIVITYLIB::ConnectivitySettings
Mutable container that aggregates the inputs and intermediate spectral results required by every metric implementation in CONNECTIVITYLIB.
Each call to append adds one trial; the trial matrices live in m_trialData, while DPSS tapered spectra, cross-spectral densities and their imaginary-part derivatives are filled in lazily by whichever metric runs first. Cross-trial sums accumulate in m_intermediateSumData so that a second metric run on the same data set reuses those sums and skips the FFT pass entirely. Node positions can be derived from a FiffInfo (sensor space) or from a forward solution + FsSurfaceSet (source space) and are propagated into the resulting Network nodes.
Aggregates trial data, spectral cache and node geometry shared by all CONNECTIVITYLIB metrics.
Public Methods
ConnectivitySettings()
Constructs a ConnectivitySettings object.
clearAllData()
clearIntermediateData()
append(matInputData)
append(matInputData)
append(inputData)
at(i)
size()
isEmpty()
removeFirst(iAmount)
removeLast(iAmount)
setConnectivityMethods(sConnectivityMethods)
getConnectivityMethods()
setSamplingFrequency(iSFreq)
getSamplingFrequency()
setFFTSize(iNfft)
getFFTSize()
setWindowType(sWindowType)
getWindowType()
setNodePositions(fiffInfo, picks)
setNodePositions(forwardSolution, surfSet)
setNodePositions(matNodePositions)
getNodePositions()
getTrialData()
getIntermediateSumData()
Authors of this file
- Lorenz Esch <lorenz.esch@tu-ilmenau.de>
- Daniel Strohmeier <daniel.strohmeier@gmail.com>
- Gabriel Motta <gabrielbenmotta@gmail.com>
- Christoph Dinh <christoph.dinh@mne-cpp.org>