src.simrd.fitzhughnagumo module

class src.simrd.fitzhughnagumo.FitzhughNagumo(a, b, I, tau)[source]

Bases: object

Fitzhugh-Nagumo neural model

\[\begin{split}\frac{du}{dt} = u-\frac{u^{3}}{3}-v+I\\ \frac{dv}{dt} = \frac{1}{\tau}(u+a-b \cdot v)\end{split}\]

[u,v]: [Membrane potential, Recovery variable] a, b (float): Parameters. tau (float): Time scale. t (float): Time (Not used: autonomous system) I (float): Constant stimulus current.

Example:

ode = FitzhughNagumo(a, b, I, tau)
du(u, v)[source]

calculate temporal derivative of u at (u,v)

dv(u, v)[source]

calculate temporal derivative of v at (u,v)

roots()[source]

solve real fixed points :rtype: list