pynn_brainscales.brainscales2.morphology.Compartment

class pynn_brainscales.brainscales2.morphology.Compartment(*, positions: List[int], label: Optional[str] = None, connect_shared_line: Optional[List[int]] = None, connect_conductance: Optional[List[Tuple[int, int]]] = None, **parameters)

Bases: object

A single iso-potential compartment of a multi-compartmental neuron model.

__init__(*, positions: List[int], label: Optional[str] = None, connect_shared_line: Optional[List[int]] = None, connect_conductance: Optional[List[Tuple[int, int]]] = None, **parameters)

Create a single compartment.

Additional arguments are saved as parameters of the compartment.

Parameters
  • positions – Enums of AtomicNeuronOnLogicalNeuron which belong to this compartment.

  • label – Label of the given compartment.

  • connect_shared_line – Enums of AtomicNeuronOnLogicalNeuron for neuron circuits which are directly connected to the shared line.

  • connect_conductance – Enums of AtomicNeuronOnLogicalNeuron for neuron circuits which are connected via a resistor to the shared line and their resistance.

Methods

__init__(*, positions[, label, …])

Create a single compartment.

Attributes

connect_conductance

connect_shared_line

label

positions

size

property connect_conductance
property connect_shared_line
property label
property positions
property size