Open
Description
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.
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
Assignees
Labels
Type
Projects
Status
To do