pynn_brainscales.brainscales2.morphology

Modules

pynn_brainscales.brainscales2.morphology.builder

pynn_brainscales.brainscales2.morphology.mc_neuron_base

pynn_brainscales.brainscales2.morphology.mechanisms

Mechanisms which can be placed on the compartments.

pynn_brainscales.brainscales2.morphology.parameters

pynn_brainscales.brainscales2.morphology.parts

Classes

CompartmentBuilder()

Construct a new compartment class.

Connection(source, target[, strength])

Connection that contains source and target of a connection.

Iterable()

McCircuitParameters(value)

Represents the parameters of a single multi-compartmental neuron.

McNeuronManualBase(**parameters)

Base class for manually constructed multi-compartmental neuron models.

MorphologyBuilder()

PlacedCompartment(*, positions, label, …)

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

SharedLineConnection(start, stop, row)

Functions

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

Create a multi-compartment neuron class from manually placed compartments.

This methods uses manually placed compartments, checks that the configuration is valid and generates a neuron class. Furthermore, the connection between the different neuron circuits has to be defined manually.

Parameters
  • name – Name of the newly created class.

  • compartments – Compartments of the multi-compartment 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 compartment.

Returns

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