pynn_brainscales.brainscales2.morphology
Modules
Mechanisms which can be placed on the compartments. |
|
Classes
Construct a new compartment class. |
|
|
Connection that contains source and target of a connection. |
|
|
|
Represents the parameters of a single multi-compartmental neuron. |
|
Base class for manually constructed multi-compartmental neuron models. |
|
A single iso-potential compartment of a multi-compartmental neuron model. |
|
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.