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:
- sources#
Noise-free activity of every network node, for evaluating estimators directly on the region level.
- Type:
- 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;
datais their sum on the sensor channels.- Type:
ndarray, shape (n_trials, n_sensors, n_times)
- provenance#
Everything needed to reproduce the data.
- Type:
- __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_dbmean signal power over mean noise power, in dB.
truthBroadband ground truth of the network.
signalnoise