dirconn.SimulatedData#

class dirconn.SimulatedData(data: TimeSeries, sources: TimeSeries, network: Network, leadfield: ndarray, signal: ndarray, noise: ndarray, provenance: Provenance)#

Output of simulate().

data#

Sensor-level input for estimators: the sensors followed by the direct channels.

Type:

TimeSeries

sources#

Noise-free activity of every network node, for evaluating estimators directly on the region level.

Type:

TimeSeries

network#

The network that generated the data.

Type:

Network

leadfield#

Mixing matrix: cortical nodes first, then background sources.

Type:

ndarray, shape (n_sensors, n_cortical + n_background)

signal, noise

Noise-free sensor signal and the noise added to it; data is their sum on the sensor channels.

Type:

ndarray, shape (n_trials, n_sensors, n_times)

provenance#

Everything needed to reproduce the data.

Type:

Provenance

__init__(data: TimeSeries, sources: TimeSeries, network: Network, leadfield: ndarray, signal: ndarray, noise: ndarray, provenance: Provenance) → None#

Methods

__init__(data, sources, network, leadfield, ...)

roi_observations(*, snr_db, seed)

Return region-level data: every node's activity plus independent white noise.

truth_at([freqs, times])

Ground truth on the frequency and time axes of the result to be evaluated.

Attributes

snr_db

mean signal power over mean noise power, in dB.

truth

Broadband ground truth of the network.

data

sources

network

leadfield

signal

noise

provenance