Romain,
thank you again for your help. I was convinced that I was doing
something wrong because I've managed to show habituation in another
simulation I wrote in C using the same parameters. I've solved the
(admittedly simple) problem and I'm posting it here in the hope that
it helps someone else.
If the activation and recovery variables of an Izhikevich neuron are
not set manually at the beginning of a simulation, they take some time
(depending on your parameters) to stabilise. Driving the neuron before
stabilisation will not produce the correct behaviour (in my case,
habituation did not occur). This is easily solved by setting the
activation and recovery at the start of the run:
@network_operation(when='start')
def init_vars():
if defaultclock.t.__float__() == 0.0:
neur.vm = c # Set neuron activation to the reset
value
neur.w = c * b # Set recovery variable to reset value
* b (same b as in the constructor of the Izhikevich neuron. Often
0.2mV)
Thanks again!
Tom
> I would suggest that you choose a slower decay rate for the second
> variable (smaller a), and possibly a larger reset value (for w).
> I have a recent paper that you might find useful:
http://audition.ens.fr/brette/papers/TouboulBrette2008BC.html
> It's on the adaptive exponential IF, but it's qualitatively very
> similar. There is also a Scholarpedia article:
http://www.scholarpedia.org/article/Adaptive_exponential_integrate-an...
> Romain
>
>
tomsh...@riseup.net a écrit :
>
> > Romain,
>
> > thank you for the incredibly quick reply. Perhaps I should have not
> > used the word `reproduce', I didn't mean for it to sound like a bug.
> > Thanks for spotting that silly mistake of mine. I'm not used to
> > working with differential equations and dimensions in programming so
> > some of this is new to me.
>
> > I have one more question. Using the parameters in Izhikevich's paper
> > "Simple Model of Spiking Neurons", I'm unable to replicate the
> > habituation that the regular spiking neuron shows. I've uploaded a
> > plot of my neuron activation herehttp://
yfrog.com/3wizhipngp. I