nest / nestml

A domain specific language for neuron and synapse models in spiking neural network simulation
GNU General Public License v2.0
45 stars 46 forks source link

Syn delay reprise #995

Closed clinssen closed 3 months ago

clinssen commented 8 months ago

Synaptic delay and weight in NEST are a special case and should not be treated like any other parameter (or state variable). It should be get/set only using get_delay() and set_delay() inherited from the Connection base class. A member variable is already provided by the base class.

get_weight() and set_weight() should be defined by the synapse model, but a member variable is not yet provided by the base class. We could make it such that no state or parameter marked @nest::weight is needed for minimalistic models.

Replaces #887.

Fixes #707.

Should be merged only after #879.