Basic Electrophysiology Relacs Plugins  0.9.8
Public Member Functions | Protected Attributes | List of all members
FitzhughNagumo Class Reference

#include <spikingneuron.h>

Inheritance diagram for FitzhughNagumo:
Inheritance graph
[legend]
Collaboration diagram for FitzhughNagumo:
Collaboration graph
[legend]

Public Member Functions

 FitzhughNagumo (void)
 
virtual string name (void) const
 
virtual int dimension (void) const
 
virtual void variables (vector< string > &varnames) const
 
virtual void units (vector< string > &u) const
 
virtual void operator() (double t, double s, double *x, double *dxdt, int n)
 
virtual void init (double *x) const
 
virtual void add (void)
 
virtual void notify (void)
 
- Public Member Functions inherited from SpikingNeuron
 SpikingNeuron (void)
 
virtual ~SpikingNeuron (void)
 
virtual void conductances (vector< string > &conductancenames) const
 
virtual void conductances (double *g) const
 
virtual string conductanceUnit (void) const
 
virtual void currents (vector< string > &currentnames) const
 
virtual void currents (double *c) const
 
virtual string currentUnit (void) const
 
virtual string inputUnit (void) const
 
double gain (void) const
 
double offset (void) const
 
- Public Member Functions inherited from ConfigClass
 ConfigClass (const string &ident, int group=0, int mode=0xffff, int selectmask=0)
 
 ConfigClass (const ConfigClass &C)
 
virtual ~ConfigClass (void)
 
const string & configIdent (void) const
 
void setConfigIdent (const string &ident)
 
int configGroup (void) const
 
void setConfigGroup (int group)
 
int configMode (void) const
 
void setConfigMode (int mode)
 
void addConfigMode (int mode)
 
void delConfigMode (int mode)
 
int configSelectMask (void) const
 
void setConfigSelectMask (int mask)
 
void addConfig (void)
 
void readConfig (void)
 
virtual void readConfig (StrQueue &sq)
 
virtual void saveConfig (ofstream &str)
 
virtual int configSize (void) const
 
virtual void config (void)
 
virtual void preConfig (void)
 

Protected Attributes

double Phi
 
double A
 
double B
 
double TimeScale
 
- Protected Attributes inherited from SpikingNeuron
double Gain
 
double Offset
 

Additional Inherited Members

- Public Types inherited from ConfigClass
enum  Action
 
- Static Public Member Functions inherited from ConfigClass
static void setConfigureClasses (ConfigureClasses *cfg)
 
- Static Public Attributes inherited from SpikingNeuron
static const int ScalingFlag = 16
 
static const int ModelFlag = 32
 
static const int DescriptionFlag = 64
 

Detailed Description

[ModelLib] The Fitzhugh-Nagumo model

Author
Jan Benda
Todo:
verify reference, parameter values, and units

From Koch, Biophysics of Computation, Chap.7.1

Constructor & Destructor Documentation

FitzhughNagumo ( void  )

Member Function Documentation

string name ( void  ) const
virtual

Returns
the name of the model.

Reimplemented from SpikingNeuron.

int dimension ( void  ) const
virtual

Returns
the dimension of the system.
See Also
variables(), operator()()

Implements SpikingNeuron.

Referenced by FitzhughNagumo::units(), and FitzhughNagumo::variables().

void variables ( vector< string > &  varnames) const
virtual

Parameters
[out]varnamesthe names of each of the dimension() variables. Gating variables (ranging between 0 and 1) should be a single lower-case character, potentials and equivalent potentials a single upper-case character, and concentrations should be in brackets (e.g. [Ca]).
See Also
dimension(), units(), operator()()

Implements SpikingNeuron.

References FitzhughNagumo::dimension().

void units ( vector< string > &  u) const
virtual

Parameters
[out]uthe units of the variables returned by variables().
See Also
dimension(), operator()()

Implements SpikingNeuron.

References FitzhughNagumo::dimension().

void operator() ( double  t,
double  s,
double *  x,
double *  dxdt,
int  n 
)
virtual

Implementation of the Fitzhugh-Nagumo equations:

\begin{eqnarray*} dV/dt & = & (V-V^3/3-W+s)/{\rm TimeScale} \\ dW/dt & = & {\rm Phi}(V+A-BW)/{\rm TimeScale} \end{eqnarray*}

x is a scaled version of the V variable.

Implements SpikingNeuron.

References FitzhughNagumo::A, FitzhughNagumo::B, FitzhughNagumo::Phi, and FitzhughNagumo::TimeScale.

void init ( double *  x) const
virtual

Initialize the state x with usefull inital conditions.

Implements SpikingNeuron.

void add ( void  )
virtual
void notify ( void  )
virtual

Read out the current values from the list of Options.

Reimplemented from SpikingNeuron.

References FitzhughNagumo::A, FitzhughNagumo::B, SpikingNeuron::notify(), FitzhughNagumo::Phi, and FitzhughNagumo::TimeScale.

Member Data Documentation

double Phi
protected
double A
protected
double B
protected
double TimeScale
protected

The documentation for this class was generated from the following files: