Thank you!
I was wondering if there is an existing way to get the last spike of the
postsynaptic neuron? I am trying the below and it isn't working as expected:
Node* target = get_target( t );
ArchivingNode* archivingTarget = dynamic_cast<ArchivingNode*>(target);
DictionaryDatum status( new Dictionary );
archivingTarget->get_status(status);
double post_synaptic_last_spike = ( *status )[ names::t_spike ];
Thank you,
Priyanka Rao
On Sun, Jan 7, 2024 at 1:44 PM Hans Ekkehard Plesser <
hans.ekkehard.plesser(a)nmbu.no> wrote:
Dear Priyanka,
You are right, t_spike is the time of the spike passing through the
synapse now, t_lastspike the time of the previous spike passing through the
synapse. These are the times at which spikes were emitted by the
presynaptic neuron.
For details on the algorithm, see the following paper, especially the
appendix:
Morrison, A., A. Aertsen, and M. Diesmann. “Spike-Time Dependent
Plasticity in Balanced Recurrent Networks.” *Neural Computation* 19
(2007): 1437–67.
For more complex third-factor learning rules, you may want to look at
- Stapmanns J, Hahne J, Helias M, Bolten M, Diesmann M and Dahmen D
(2021) *Event-Based Update of Synapses in Voltage-Based Learning
Rules.*
<https://urldefense.com/v3/__https://doi.org/10.3389/fninf.2021.609147__;!!K-Hz7m0Vt54!mizz2G768ZyxtG1XZlTSjxDr6s3T6RZDpWRFiCts21qHTuPl4kn04mGJ0d3dTELTSsCEnut6aP3uInQe5BIORxlBww$>Frontiers
Media SA Frontiers in Neuroinformatics. 15:609147 doi
<https://urldefense.com/v3/__http://dx.doi.org/10.3389/fninf.2021.609147__;!!K-Hz7m0Vt54!mizz2G768ZyxtG1XZlTSjxDr6s3T6RZDpWRFiCts21qHTuPl4kn04mGJ0d3dTELTSsCEnut6aP3uInQe5BKzElGGQg$>
Best,
Hans Ekkehard
--
Prof. Dr. Hans Ekkehard Plesser
Department of Data Science
Faculty of Science and Technology
Norwegian University of Life Sciences
PO Box 5003, 1432 Aas, Norway
Phone +47 6723 1560
Email hans.ekkehard.plesser(a)nmbu.no
Home
http://arken.nmbu.no/~plesser
<https://urldefense.com/v3/__http://arken.nmbu.no/*plesser__;fg!!K-Hz7m0Vt54!mizz2G768ZyxtG1XZlTSjxDr6s3T6RZDpWRFiCts21qHTuPl4kn04mGJ0d3dTELTSsCEnut6aP3uInQe5BKz6tSIMQ$>
*From: *prao2(a)uw.edu <prao2(a)uw.edu>
*Date: *Friday, 5 January 2024 at 19:58
*To: *users(a)nest-simulator.org <users(a)nest-simulator.org>
*Subject: *[NEST Users] STDP synapse t_spike and t_lastspike clarification
[Some people who received this message don't often get email from
prao2(a)uw.edu. Learn why this is important at
https://aka.ms/LearnAboutSenderIdentification
<https://urldefense.com/v3/__https://aka.ms/LearnAboutSenderIdentification__;!!K-Hz7m0Vt54!mizz2G768ZyxtG1XZlTSjxDr6s3T6RZDpWRFiCts21qHTuPl4kn04mGJ0d3dTELTSsCEnut6aP3uInQe5BJSRBhbJA$>
]
Dear all,
I am trying to develop a new synapse model that uses the activity of the
postsynaptic neuron. I'm looking at the STDP synapse to understand how it
gets the target neuron history, and I wanted to clarify: are t_spike and
t_lastspike the time stamps for the last spike of the presynaptic or
postsynaptic neuron? I am looking at the send method of stdp_synapse.h (
https://github.com/nest/nest-simulator/blob/91a02ed98017224deabe25e8e08bcfd…
<https://urldefense.com/v3/__https://github.com/nest/nest-simulator/blob/91a02ed98017224deabe25e8e08bcfdada51ff65/models/stdp_synapse.h__;!!K-Hz7m0Vt54!mizz2G768ZyxtG1XZlTSjxDr6s3T6RZDpWRFiCts21qHTuPl4kn04mGJ0d3dTELTSsCEnut6aP3uInQe5BI_VTJgfg$>
)
Thanks in advance!
Best,
Priyanka Rao
_______________________________________________
NEST Users mailing list -- users(a)nest-simulator.org
To unsubscribe send an email to users-leave(a)nest-simulator.org
_______________________________________________
NEST Users mailing list -- users(a)nest-simulator.org
To unsubscribe send an email to users-leave(a)nest-simulator.org