blueetl.adapters.impl.bluepy.simulation

Bluepy simulation implementation.

Classes

PopulationReportImpl(report)

Bluepy report implementation.

PopulationSpikesReportImpl(spikes)

Bluepy spikes report implementation.

ReportCollection(simulation)

Collection of reports as: name -> population -> report.

SimulationImpl(simulation)

Bluepy simulation implementation.

class blueetl.adapters.impl.bluepy.simulation.PopulationReportImpl(report: bluepy.impl.compartment_report.SomaReport | bluepy.impl.compartment_report.CompartmentReport)

Bases: PopulationReportInterface

Bluepy report implementation.

Init the population report with the given report.

get(group=None, t_start=None, t_stop=None, t_step=None) DataFrame

Return the report for the specified group and interval.

Only group as array of numeric ids is supported.

class blueetl.adapters.impl.bluepy.simulation.PopulationSpikesReportImpl(spikes: bluepy.impl.spike_report.SpikeReport)

Bases: PopulationSpikesReportInterface

Bluepy spikes report implementation.

Init the spikes report with the given spikes.

get(group=None, t_start=None, t_stop=None) Series

Return the spikes report for the specified group and interval.

Only group as array of numeric ids is supported.

class blueetl.adapters.impl.bluepy.simulation.ReportCollection(simulation: bluepy.Simulation)

Bases: UserDict

Collection of reports as: name -> population -> report.

Init the report collection with the specified simulation.

class blueetl.adapters.impl.bluepy.simulation.SimulationImpl(simulation: SimulationT)

Bases: SimulationInterface[Simulation]

Bluepy simulation implementation.

Init the simulation interface with the specified simulation.

property circuit: CircuitInterface

Return the circuit used for the simulation.

is_complete() bool

Return True if the simulation is complete, False otherwise.

property reports: Mapping[str, Mapping[str | None, PopulationReportInterface]]

name -> population -> report.

The population name in the returned dict is always None, because undefined in the config.

Type:

Return the reports as a dict

property spikes: Mapping[str | None, PopulationSpikesReportInterface]

population -> report.

The population name in the returned dict is always None, because undefined in the config.

Type:

Return the spikes report as a dict