Hi Charl,

Thanks for your reply, that was a mistake on my part..

What I would like to achieve is to access Ca value at neuron as well as synapse level. I tried to look for such example in NESTML but I couldn't find it. 

So briefly:
1. How to access superclass variable in neuron NESTML.
2. How to access neuron variables in synapse NESTML file.

On Fri, Feb 17, 2023, 16:53 Charl Linssen <nest-users@turingbirds.com> wrote:
Dear Maryada,

Thanks for writing in. Which neuron model are you using? From a simple test scrip with the "iaf_psc_exp" model, I am getting a nonzero calcium concentration:

import nest
n = nest.Create("iaf_psc_exp")
nest.Simulate(100)
n.get("Ca")

Yields 0.014928834091366892. The "beta_Ca" parameter can be used to tweak the increment upon each postsynaptic spike, and "tau_Ca" is the decay constant.

I am of course happy to work with you to set up a custom NESTML model if you need additional or different features to keep track of calcium concentration.

With kind regards,
Charl


On Thu, Feb 16, 2023, at 20:21, Maryada Maryada wrote:

Dear NEST Users,
I would like to "record" or read calcium concentration of the neurons (let's say aeif_cond_exp). For now Ca variable is 0 before and after I simulate, however the neuron spikes.

Is there any neuron model that supports this, or do I need to edit the nestml of the desired model to achieve this.
If so, a sample code snippet would be helpful.
--
Thanks and Regards

Maryada

_______________________________________________
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