Hi,
Thank you for writing in. The neuron model having a calcium concentration is something of a fluke, as it was originally introduced only as a component in simulating structural plasticity. Therefore, I would recommend using this calcium value only if you are not otherwise planning to use structural plasticity mechanisms.
I have created a pull request that makes the calcium concentration available for setting: https://github.com/nest/nest-simulator/pull/2627 as it seems like this should anyway exist as a feature. Please let me know if this works for you.
In the ideal case we would not use the calcium concentration from the structural plasticity part of NEST, but track the concentration as part of the neuron model itself (e.g. in models/iaf_psc....cpp,h). NESTML is a modelling language for NEST that was created to allow you to easily express custom neuron (and synaptic) dynamics, and to generate code for it and build an extension module for NEST. Please see here for writing your neuron model in NESTML: https://nestml.readthedocs.org/
Yours, Charl
On Mon, Mar 6, 2023, at 21:45, Abbey Durell wrote:
I'm trying to set the initial Calcium concentration for this model with no luck. I've tried self.model_params = {'tau_m': 10.0, # membrane time constant (ms) ... 'Ca': 0.1 #initial calcium concentration } This method doesn't throw an exception but it also doesn't change the initial calcium concentration.
I've also tried self.nodes_e.set(Ca=0.1) which throws an exception nest.lib.hl_api_exceptions.NESTErrors.DictError: DictError in SLI function SetStatus_id: Unused dictionary items: Ca
Any suggestions? _______________________________________________ NEST Users mailing list -- users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.org