It was straight forward to install nestml 8.0.0. The version is 8.0.0-rc2. I got the integrate_and_fire_neuron model from the latest models , and that worked. I then tried a noisy_synapse, and that didn’t work. Nor did static_synapse or stdp_synapse.
I get a
KeyError: ‘static_synapse’
From nest_code_generator.py
delay_variable = self.get_option(“delay_variable”)[synapse_named_stripped]
with the error pointing to synapse_name_stripped. This is the same error I get with the other two synapses.
Any thoughts?
-Chris
From: Charl Linssen <nest-users@turingbirds.com>
Sent: 24 July 2024 11:17
To: users@nest-simulator.org
Subject: [NEST Users] Re: stdp synapse nestml erro
You don't often get email from nest-users@turingbirds.com. Learn why this is important
Hi Chris,
We have a release candidate out for NESTML 8.0.0, as there were some big changes since the last version, could I ask you to work with that? It should be easy to install using "pip install --pre nestml"; please let us know if you run into any issues.
To generate the code for an STDP synapse, you need to tell the code generator that there is one spiking input in the synapse model that should be connected to the postsynaptic partner. Please see here for documentation:
And see here for a usage example:
Hope this helps!
With kind regards,
Charl
On Tue, Jul 23, 2024, at 12:16, Chris Huyck wrote:
I’m working with the nestml 7.0.2. I got the example models from https://github.com/nest/nestml/blob/v7.0.2/models/neurons/hill_tononi.nestml this git tree. I tried three different stdp models including stdp_triplet_naive.nestml. All give
AssertionError: Synapses only support one spiking input port
when I generate_target in python.
-Chris
_______________________________________________
NEST Users mailing list -- users@nest-simulator.org
To unsubscribe send an email to users-leave@nest-simulator.org
_______________________________________________NEST Users mailing list -- users@nest-simulator.orgTo unsubscribe send an email to users-leave@nest-simulator.org