Hi Anh,

 

The NEST spatial connection routines currently do not support setting other parameters than weight or delay. There is no deep technical reason for this, but it would take quite some effort to implement.

 

Now, as lon as you want to use the same values for Wmax, tau_plus, alpha, etc for all synapses that you create during a single Connect call (or maybe all plastic synapses in your network), you can use stdp_synapse_hom and set the values on the model with SetDefaults(). You can also do this with a normal stdp_synapse, but the _hom version has much lower memory consumption because it stores the common parameters only once.

 

If you need individual parameter values for each synapse, you will need to do a GetConnections and then set the values on the synapses.

 

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@nmbu.no

Home http://arken.nmbu.no/~plesser

 

 

 

From: anh.phan@tuni.fi <anh.phan@tuni.fi>
Date: Thursday, 14 March 2024 at 10:33
To: users@nest-simulator.org <users@nest-simulator.org>
Subject: [NEST Users] ValueError: 'Wmax' is not allowed in syn_spec when connecting with mask or kernel

[Some people who received this message don't often get email from anh.phan@tuni.fi. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

I am working with a 2D spatially-structured neural network and aim to employ STDP synapses to establish connections between neurons. However, I encountered an error stating 'ValueError: 'Wmax' is not allowed in syn_spec when connecting with mask or kernel,' along with similar issues for parameters such as tau_plus, alpha, lambda, and others. Could you give me some guidance on how to properly configure these parameters?

Thank you very much.
_______________________________________________
NEST Users mailing list -- users@nest-simulator.org
To unsubscribe send an email to users-leave@nest-simulator.org