pynn_brainscales.brainscales2.morphology

Modules

pynn_brainscales.brainscales2.morphology.mc_neuron_base

pynn_brainscales.brainscales2.morphology.parameters

pynn_brainscales.brainscales2.morphology.parts

Classes

Compartment(*, positions, label, …)

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

Iterable()

McCircuitParameters(value)

Represents the parameters of a single multi-compartmental neuron.

McNeuronBase(**parameters)

Base class for multi-compartmental neuron models.

SharedLineConnection(start, stop, row)

Functions

pynn_brainscales.brainscales2.morphology.create_mc_neuron(name: str, compartments: List[pynn_brainscales.brainscales2.morphology.parts.Compartment], connections: Optional[List[pynn_brainscales.brainscales2.morphology.parts.SharedLineConnection]] = None, single_active_circuit: bool = False)pynn_brainscales.brainscales2.morphology.mc_neuron_base.McNeuronBase

Create a multicompartment neuron class.

Parameters
  • name – Name of the newly created class.

  • compartments – Compartments of the multicompartment neuron.

  • connections – Specifies where the shared line is connected.

  • single_active_circuit – Disable leak, capacitance and threshold for all but the first circuit in each comaprtment.

Returns

Class for a multi-compartmental neuron model with the given compartments and connections.