2. The integrate_odes() function should be called from the synapse. So a corresponding update block should be added in the synapse:
codegen_opts={"neuron_synapse_pairs": [{"neuron": “<neuron_model>",
"synapse": "dopamine_synapse",
"vt_ports": ["dopa_spikes"]}],
"delay_variable": {"dopamine_synapse": "d"},
"weight_variable": {"dopamine_synapse": "w"}})
Hope this helps!
Regards,
Pooja
On 15. Jan 2025, at 18:19, Beck Strohmer <bstrohmer@gmail.com> wrote:
Hi Pooja,
Thanks for the response. I have upgraded NESTML and now the error seems to be from new syntax. I changed my nestml file to say "model" instead of "synapse" and I changed to "emit_spike" (instead of "deliver_spike"). However, this is producing an error. I have attached both the updated nestml file and the error as printed to terminal.
Thanks!
Hi Beck,
Could you please update to the new version and try again? You could do that with the command “pip install nestml —upgrade”
Please let us know how you fare.
Regards,
Pooja
Hi,
I am trying to create a dopamine modulated synapse using NESTML. You can find the nestml file and the file for creating the neuron attached. I am using NEST version 3.8.0 and running within a conda environment (v. 24.1.2).
I get a make error in the end so the files are created except for the .so file that I need for loading the model. I attached the terminal error for further details. Has anyone else had this issue? How were you able to resolve it?
Thanks for any advice!
Best,
Beck
<compile_error.txt><dopamine_synapse_NEW.nestml><create_gap_dopamod_synapse.py>_______________________________________________
NEST Users mailing list --
users@nest-simulator.orgTo unsubscribe send an email to
users-leave@nest-simulator.org
_______________________________________________
NEST Users mailing list -- users@nest-simulator.org
To unsubscribe send an email to users-leave@nest-simulator.org
<terminal_compile_error.txt><dopamine_synapse_NEW.nestml>_______________________________________________
NEST Users mailing list -- users@nest-simulator.org
To unsubscribe send an email to users-leave@nest-simulator.org