-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bsb-coreAuto-created by migration scriptAuto-created by migration scriptbsb-nestAuto-created by migration scriptAuto-created by migration script
Description
Context
As a user, I would like to compute dynamically the delays of transmission of spike events through axons based on pre and postsynaptic soma locations.
Currently the NestSynapseSettings delay and weight parameters are separated because these are needed in most of NEST synapse models. The node has also a constants configuration attribute that allows the user to set any synapse parameter with a nest_parameter type.
Currently, there is no way to compute parameters while loading the circuit.
Proposal
- Similar to postprocessing hooks, we should refactor
bsb-core.simulation.parameter.Parameterinto two abstract dynamic nodesCellParameter,ConnectionParameterthat implement acomputefunction based on respectively thecell_modelnode or theconnection_modelnode. These parameter classes can be extended to implement any strategy to dynamically load parameters. - The
NestCellandNestSynapseSettingsshould implement a new dictionary attribute:parameters, which will allow the user to define respectivelyCellParameterorConnectionParameterfor each model parameter that has to be computed during the simulation preparation. Theconstantsattribute present in both class may remain to maintain the old interface. - The
NestCellandNestSynapseSettingsshould also implement a boot function that will mergeparametersandconstantsinto a single list and ensure that necessary elements are present (e.g.delayandweightfor synapses) and no element is duplicated. - A
DistanceDelayParameterclass should be implemented, that compute the delays between the pre- and post-synaptic cells of aconnection_modelbased on the axon speed of transmission.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bsb-coreAuto-created by migration scriptAuto-created by migration scriptbsb-nestAuto-created by migration scriptAuto-created by migration script