Exponential Integrate-and-Fire

\[\tau\over{\text{d}}t}u=-(u-u_{\rm rest})+\Delta_{T}\,\exp\left({u-\theta_{rh}\over\Delta_{T}}\right)+R I\]

Default parameters: $\tau=10$ ms, $\Delta_T=3$ mV, $\theta_{rh} = -50 mV$, $u_{rest} = -65$ mV, $R=10 M\Omega$, $I=2.2 nA$, firing threshold $u_{thr}=-45 mV$.

The source code is Open Source and can be found on GitHub.