Skip to content

Comparison of STDP_dopamine_synapse with brian2 #1939

Open
@ferqui

Description

@ferqui

Hi, I was comparing the NEST stdp_dopamine_synapse with a version in Brian2 simulator, but I get very different results on the eligibility trace.

Captura de pantalla 2021-02-23 a las 13 36 32

The equation that I used in the Brian2 implementation is the following:

rstdp_eq = """
dn/dt = -n/tau_n : 1 (clock-driven)
dc/dt = -c/tau_c : 1 (clock-driven)
dweight/dt = c*(n-b) / (1*ms) : 1 (clock-driven)
dApre/dt = -Apre/tau_plus : 1 (clock-driven)
dApost/dt = -Apost/tau_minus : 1 (clock-driven)
b : 1
A_plus : 1
A_minus : 1
tau_n : second
tau_c : second
tau_plus : second
tau_minus : second
"""

rstdp_pre_eq = """
x_post += weight*pA
c += Apost
Apre += A_plus
"""

rstdp_post_eq = """
c += Apre
Apost += A_minus
"""

I am using NEST 2.20.1 and Brian2 2.4.2. Do you have any idea where I might have gone wrong? I attached also the test files that I made. Thank you.
DA-STDP.zip

Metadata

Metadata

Labels

I: No breaking changePreviously written code will work as before, no one should note anything changing (aside the fix)S: NormalHandle this with default priorityT: DiscussionStill searching for the right way to proceed / suggestions welcomestaleAutomatic marker for inactivity, please have another look here

Type

No type

Projects

Status

To do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions