Dear NEST community, Thank you so much for your previous suggestions on writing my own neuron model with NESTML. I constructed a multiple synapses version of simple integrate-and-fire ("iaf_cond_beta_multisynapse") neuron based on the existing "iaf_cond_beta" neuron model. And I did this by simply adding two synaptic channels (AMPA and NMDA) without changing the structure of the neuron model. But when I called this model on NEST to set the initial membrane potentials from a uniform distribution (from 280 to 255 mV), for example:"d1_pop.set({"V_m":nest.random.uniform(-80.0, -55.0)})", an error reporting NESTErrors.TypeMismatch: "TypeMismatch in SLI function SetStatus_id: Expected datatype: doubletype Provided datatype: parametertype" appeared. So I wonder is there any coding errors in my own neuron model, since it worked just fine when I set the initial membrane potentials to a number like -80, and how can I fix this error. Best, Zirui
Dear Zirui,
Thank you for writing in. This issue has been fixed in recent days (see https://github.com/nest/nestml/pull/818). Could I ask you to update to the latest NESTML, for instance by running ``pip install --upgrade git+https://github.com/nest/nestml%60%60? Please let us know if you run into any more issues.
Many thanks, Charl
On Sat, Nov 12, 2022, at 06:37, 王梓瑞 wrote:
Dear NEST community,
Thank you so much for your previous suggestions on writing my own neuron model with NESTML.
I constructed a multiple synapses version of simple integrate-and-fire ("iaf_cond_beta_multisynapse") neuron based on the existing "iaf_cond_beta" neuron model. And I did this by simply adding two synaptic channels (AMPA and NMDA) without changing the structure of the neuron model. But when I called this model on NEST to set the initial membrane potentials from a uniform distribution (from 280 to 255 mV), for example:"d1_pop.set({"V_m":nest.random.uniform(-80.0, -55.0)})", an error reporting NESTErrors.TypeMismatch: "TypeMismatch in SLI function SetStatus_id: Expected datatype: doubletype Provided datatype: parametertype" appeared.
So I wonder is there any coding errors in my own neuron model, since it worked just fine when I set the initial membrane potentials to a number like -80, and how can I fix this error.
Best, Zirui
NEST Users mailing list -- users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.org