blueetl.adapters.impl.bluepy.circuit

Bluepy circuit implementation.

Classes

CircuitImpl(circuit)

Bluepy circuit implementation.

class blueetl.adapters.impl.bluepy.circuit.CircuitImpl(circuit: CircuitT)

Bases: CircuitInterface[Circuit]

Bluepy circuit implementation.

Init the circuit interface with the specified circuit.

checksum() str

Return a checksum of the relevant keys in the circuit configuration.

Circuits are considered different in this context if any relevant key is different.

property node_sets: NodeSetsInterface

Returns the NodeSets used by the circuit.

property node_sets_file: Path | None

Returns the NodeSets file used by the circuit.

property nodes: Mapping[str | None, NodePopulationInterface]

population -> nodes.

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

Type:

Return the nodes as a dict