blueetl.adapters.simulation

Adapters for Simulation.

Classes

SimulationAdapter(_impl)

Simulation Adapter.

class blueetl.adapters.simulation.SimulationAdapter(_impl: InterfaceT | None)

Bases: BaseAdapter[SimulationInterface]

Simulation Adapter.

Init the adapter from the specified implementation.

property circuit: CircuitAdapter

Return the circuit used for the simulation.

classmethod from_file(filepath: Path | None) SimulationAdapter

Load and return a new object from file.

is_complete() bool

Return True if the simulation is complete, False otherwise.

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

name -> population -> report.

Type:

Return the reports as a dict

property spikes: Mapping[str | None, PopulationSpikesReportInterface]

population -> report.

Type:

Return the spikes report as a dict