You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m currently implementing a simulation model which uses leaky integrated and fire neurons with a type of PSCs whose profile would be fitted with a bi-exponential function. An equation of this type should have two time constants, namely “tau_syn_rise” and “tau_syn_decay.” <e.g., exp(-(t-t0)/tau_syn_decay) - exp((t-t0)/tau_syn_rise)>. Some of you may notice I’ve asked a related question to the NEST community because there is no standard model which accepts two PSC time constants in its synaptic specification. One solution I was given was to connect two identical synapses to a neuron while using different tau_syn values and reversed weights. Regarding the weights, they are the same size but one is positive, and the other is negative. Originally, I was told I should use the iaf_psc_exp_multisynapse model, but I’ve confirmed that the same result will be obtained if I I use the standard iaf_psc_exp model with tau_syn_ex for tau_syn_decay, and tau_syn_in for tau_syn_rise.
However, if I reconstruct this in PyNN (with NEST as its base), no activity is observed. The membrane potential is completely flat. If I change the spike time of one of the synapses, NEST and PyNN give the identical result. Am I coding wrongly?
Here I give two sample codes (related part only) :
NEST 2.6.0
PyNN 0.8dev2
Python 3.4
First, my apologies for the very long delay in investigating this. It turns out to be a bug in the iaf_psc_exp_ps model in NEST, which is the model PyNN uses by default for IF_curr_exp. I have created a ticket for this in the NEST issue tracker: nest/nest-simulator#368
As a workaround, in PyNN you can use the spike_precision argument to setup(), i.e.:
setup(spike_precision="on_grid")
This will cause PyNN to select iaf_psc_exp (which works correctly) instead of iaf_psc_exp_ps.
Hajime Yamauchi reported:
I’m currently implementing a simulation model which uses leaky integrated and fire neurons with a type of PSCs whose profile would be fitted with a bi-exponential function. An equation of this type should have two time constants, namely “tau_syn_rise” and “tau_syn_decay.” <e.g., exp(-(t-t0)/tau_syn_decay) - exp((t-t0)/tau_syn_rise)>. Some of you may notice I’ve asked a related question to the NEST community because there is no standard model which accepts two PSC time constants in its synaptic specification. One solution I was given was to connect two identical synapses to a neuron while using different tau_syn values and reversed weights. Regarding the weights, they are the same size but one is positive, and the other is negative. Originally, I was told I should use the iaf_psc_exp_multisynapse model, but I’ve confirmed that the same result will be obtained if I I use the standard iaf_psc_exp model with tau_syn_ex for tau_syn_decay, and tau_syn_in for tau_syn_rise.
However, if I reconstruct this in PyNN (with NEST as its base), no activity is observed. The membrane potential is completely flat. If I change the spike time of one of the synapses, NEST and PyNN give the identical result. Am I coding wrongly?
Here I give two sample codes (related part only) :
NEST 2.6.0
PyNN 0.8dev2
Python 3.4
—————NEST—————
—————PyNN—————
The text was updated successfully, but these errors were encountered: