Skip to content

Commit 4a6eb31

Browse files
Merge pull request nest#3616 from clinssen/vt_doc
Add note in docs about how to use volume transmitter during network setup
2 parents 2249bdc + 5cf5281 commit 4a6eb31

File tree

2 files changed

+40
-33
lines changed

2 files changed

+40
-33
lines changed

models/stdp_dopamine_synapse.h

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -64,40 +64,41 @@ dopaminergic dynamics is calculated in the synapse itself.
6464
Parameters
6565
++++++++++
6666
67-
=================== ============== ======================================================
67+
=================== =========================== ======================================================
6868
**Common properties**
69-
-----------------------------------------------------------------------------------------
70-
volume_transmitter NodeCollection volume_transmitter collecting the spikes from the
71-
pool of dopamine releasing neurons and transmitting
72-
the spikes to the synapse.
73-
A_plus real Multiplier applied to weight changes caused by
74-
pre-before-post spike pairings. If b (dopamine
75-
baseline concentration) is zero, then A_plus
76-
is simply the multiplier for facilitation (as in the
77-
stdp_synapse model). If b is not zero, then A_plus
78-
will be the multiplier for facilitation only if n - b
79-
is positive, where n is the instantenous dopamine
80-
concentration in the volume transmitter. If n - b is
81-
negative, A_plus will be the multiplier for
82-
depression.
83-
A_minus real Multiplier applied to weight changes caused by
84-
post-before-pre spike pairings. If b (dopamine
85-
baseline concentration) is zero, then A_minus
86-
is simply the multiplier for depression (as in the
87-
stdp_synapse model). If b is not zero, then A_minus
88-
will be the multiplier for depression only if n - b
89-
is positive, where n is the instantenous dopamine
90-
concentration in the volume transmitter. If n - b is
91-
negative, A_minus will be the multiplier for
92-
facilitation.
93-
tau_plus ms STDP time constant for weight changes caused by
94-
pre-before-post spike pairings.
95-
tau_c ms Time constant of eligibility trace
96-
tau_n ms Time constant of dopaminergic trace
97-
b real Dopaminergic baseline concentration
98-
Wmin real Minimal synaptic weight
99-
Wmax real Maximal synaptic weight
100-
=================== ============== ======================================================
69+
------------------------------------------------------------------------------------------------------
70+
volume_transmitter :py:class:`.NodeCollection` :ref:`Volume transmitter <volume_transmitter>`
71+
collecting the spikes from the pool of dopamine
72+
releasing neurons and transmitting the spikes to the
73+
synapse.
74+
A_plus real Multiplier applied to weight changes caused by
75+
pre-before-post spike pairings. If b (dopamine
76+
baseline concentration) is zero, then A_plus
77+
is simply the multiplier for facilitation (as in the
78+
stdp_synapse model). If b is not zero, then A_plus
79+
will be the multiplier for facilitation only if n - b
80+
is positive, where n is the instantenous dopamine
81+
concentration in the volume transmitter. If n - b is
82+
negative, A_plus will be the multiplier for
83+
depression.
84+
A_minus real Multiplier applied to weight changes caused by
85+
post-before-pre spike pairings. If b (dopamine
86+
baseline concentration) is zero, then A_minus
87+
is simply the multiplier for depression (as in the
88+
stdp_synapse model). If b is not zero, then A_minus
89+
will be the multiplier for depression only if n - b
90+
is positive, where n is the instantenous dopamine
91+
concentration in the volume transmitter. If n - b is
92+
negative, A_minus will be the multiplier for
93+
facilitation.
94+
tau_plus ms STDP time constant for weight changes caused by
95+
pre-before-post spike pairings.
96+
tau_c ms Time constant of eligibility trace
97+
tau_n ms Time constant of dopaminergic trace
98+
b real Dopaminergic baseline concentration
99+
Wmin real Minimal synaptic weight
100+
Wmax real Maximal synaptic weight
101+
=================== =========================== ======================================================
101102
102103
The common properties can only be set by :py:func:`.SetDefaults` and apply
103104
to all instances of the synapse model.

models/volume_transmitter.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ dictionary and ``d_min`` is the minimal synaptic delay.
7171
7272
The implementation is based on the framework presented in [1]_.
7373
74+
Please note that the ``volume_transmitter`` property of a synapse can
75+
only be set by means of :py:func:`.CopyModel` or
76+
:py:func:`.SetDefaults`; setting the property inside of a
77+
:py:func:`.Connect` call is not supported for technical reasons.
78+
79+
7480
Parameters
7581
++++++++++
7682

0 commit comments

Comments
 (0)