Hi Charl,
Thank you for the pointers, I made good progress on the model using the traub_cond_multisyn_neuron.nestml since it has the four synpatic types I was interested in.
However, I am still having some troubles with the input ports. I implemented my ports as in the traub model as: """ input: AMPA <- spike NMDA <- spike GABA_A <- spike GABA_B <- spike I_stim pA <- continuous """
But I read in the doc "an unmarked port will by default handle all incoming presynaptic spikes." Does that mean that when creating the connections, I cannot connect to one specific synapse type ?
I tried: """ nest.Connect(noise, neuron, syn_spec={"synapse_model": "AMPA"}) """ and """ nest.Connect(noise, neuron, syn_spec={"synapse_model": "static_synapse", "receptor_type": "AMPA"}) """ and both failed.
Could you let me know how to proceed ?
Cheers,
Tanguy
On Tuesday, 8 October 2024 at 19:55, Charl Linssen nest-users@turingbirds.com wrote:
Hi Tanguy,
Thanks for writing in! It shouldn't be any problem to implement this neuron using NESTML. You could take several existing models, and add together the elements into a new file. (We'd also love to have the model in our repository, if you would like to make a pull request with the model and some unit test afterwards, that would be great!)
For the base aeif model: https://github.com/nest/nestml/blob/master/models/neurons/aeif_cond_alpha_ne...
For the beta kernel: https://github.com/nest/nestml/blob/master/models/neurons/iaf_cond_beta_neur...
For multiple input ports: https://github.com/nest/nestml/blob/master/models/neurons/traub_cond_multisy...
Please note that we are in the process of reviewing/merging a pull request related to refractoriness which could be of relevance to your development, please see https://github.com/nest/nestml/pull/1100 for the new preferred way of implementing absolute refractoriness.
We are also working on an "include" statement, that will allow you to include one file (for instance, containing the beta kernel) from another file (the neuron model), making NESTML much more modular. Stay tuned, and please let us know how you fare!
With kind regards, Charl
On Tue, Oct 8, 2024, at 10:44, tanguy.damart@protonmail.com wrote:
Hello everyone,
Is there a NESTML version of the NEST model aeif_cond_beta_multisynapse ? (https://nest-simulator.readthedocs.io/en/stable/models/aeif_cond_beta_multis...)
If not, is there any difficulties that I might face implementing it in NESTML that I need to be aware of ? (Like how to handle multiple types of synapses).
Best,
Tanguy _______________________________________________ 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.org To unsubscribe send an email to users-leave@nest-simulator.org