How to add stochastic equations with Exponential Euler

NinaD
Mon, 18 Jan 2021 13:03:11 +0000
Support

I want to add Gaussian white noise to the membrane voltage of a Hodgkin-Huxley neuron like this:
dv/dt = .... +sigma*xi*(2*gl/Cm)**.5
Where sigma is 6.5*mV. This works with LIF neurons and ‘euler’ integration method but not with HH neurons and ‘exponential-euler’ integration method. I get the error:
brian2.stateupdaters.base.UnsupportedEquationsException: Cannot solve stochastic equations with this state updater.

Is there another way to implement this exact type of noise? I’ve attempted with the PoissonInput class but can’t seem to get it the same.

4 posts - 2 participants