#include <HHNeuron.h>
Public Member Functions | |
HHINeuron (double Rm=100e6, double Cm=3e-10, double Vresting=-60e-3, double Vthresh=0.03, double Vinit=-60e-3, double Trefract=5e-3, double Inoise=0.0, double Iinject=0.0) | |
Constructor to set the paramters. | |
double | alpha_m (double V) |
m - gate | |
double | beta_m (double V) |
double | infty_m (double V) |
double | alpha_h (double V) |
h - gate | |
double | beta_h (double V) |
double | infty_h (double V) |
double | alpha_n (double V) |
n - gate | |
double | beta_n (double V) |
double | infty_n (double V) |
virtual void | derivatives (double t, const double y[], double f[]) |
virtual int | reset (double dt) |
Reset the neuron. | |
Public Attributes | |
double | Amembrane |
double | gbar_Na |
Na peak conductance. | |
double | E_Na |
Na cannel reversal potential. | |
double | gbar_K |
K peak conductance. | |
double | E_K |
K cannel reversal potential. |
Definition at line 136 of file HHNeuron.h.
HHINeuron::HHINeuron | ( | double | Rm = 100e6 , |
|
double | Cm = 3e-10 , |
|||
double | Vresting = -60e-3 , |
|||
double | Vthresh = 0.03 , |
|||
double | Vinit = -60e-3 , |
|||
double | Trefract = 5e-3 , |
|||
double | Inoise = 0.0 , |
|||
double | Iinject = 0.0 | |||
) | [inline] |
Constructor to set the paramters.
Definition at line 154 of file HHNeuron.h.
References Amembrane, ODESystemBasedSpikingNeuron::Cm, E_K, E_Na, gbar_K, gbar_Na, ODESystemBasedSpikingNeuron::Iinject, ODESystemBasedSpikingNeuron::Inoise, ODESystemBasedSpikingNeuron::Rm, ODESystemBasedSpikingNeuron::Trefract, ODESystemBasedSpikingNeuron::Vinit, ODESystemBasedSpikingNeuron::Vresting, and ODESystemBasedSpikingNeuron::Vthresh.
Definition at line 186 of file HHNeuron.h.
References alpha_m(), and beta_m().
Referenced by reset().
Definition at line 191 of file HHNeuron.h.
References alpha_h(), and beta_h().
Referenced by reset().
Definition at line 196 of file HHNeuron.h.
References alpha_n(), and beta_n().
Referenced by reset().
Implements odeiv::ODESystem.
Definition at line 64 of file HHNeuron.cpp.
References alpha_h(), alpha_m(), alpha_n(), beta_h(), beta_m(), beta_n(), ODESystemBasedSpikingNeuron::Cm, E_K, E_Na, ODESystemBasedSpikingNeuron::G0, gbar_K, gbar_Na, and ODESystemBasedSpikingNeuron::I0.
Reset the neuron.
Reimplemented from SimObject.
Definition at line 88 of file HHNeuron.cpp.
References E_K, E_Na, ODESystemBasedSpikingNeuron::Em, gbar_K, gbar_Na, infty_h(), infty_m(), infty_n(), SingleOutputSpikeSender::reset(), ODESystemBasedSpikingNeuron::Rm, ODESystemBasedSpikingNeuron::Vinit, and ODESystemBasedSpikingNeuron::Vresting.
Na peak conductance.
Definition at line 144 of file HHNeuron.h.
Referenced by derivatives(), HHINeuron(), and reset().
Na cannel reversal potential.
Definition at line 146 of file HHNeuron.h.
Referenced by derivatives(), HHINeuron(), and reset().
K peak conductance.
Definition at line 149 of file HHNeuron.h.
Referenced by derivatives(), HHINeuron(), and reset().
K cannel reversal potential.
Definition at line 151 of file HHNeuron.h.
Referenced by derivatives(), HHINeuron(), and reset().