Quadratic Integrate-and-Fire

\[\tau \frac{d}{dt}u=a\_{0} (u-u\_{rest}) (u-u\_{c})+RI\]

Default parameters: $\tau=10$ ms, $a_{0}=0.1 mV^{-1}$, $u_{c} = -55$ mV, $u_{rest} = -70$ mV, $R=10 M\Omega$, $I=2.2 nA$, firing threshold $u_{thr}=-40 mV$.

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