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

#include <spikingneuron.h>

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

Public Member Functions

 PassiveMembrane (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 C
 
double R
 
- 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] A passive membrane (RC circuit)

Author
Jan Benda

Constructor & Destructor Documentation

PassiveMembrane ( 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 PassiveMembrane::units(), and PassiveMembrane::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 PassiveMembrane::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 PassiveMembrane::dimension().

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

Implementation of a passive membrane:

\begin{eqnarray*} C dV/dt & = & -R*V + I \end{eqnarray*}

.

Implements SpikingNeuron.

References PassiveMembrane::C, and PassiveMembrane::R.

void init ( double *  x) const
virtual

Initialize the state x with usefull inital conditions.

Implements SpikingNeuron.

void add ( void  )
virtual

Add parameters as options.

Reimplemented from SpikingNeuron.

References SpikingNeuron::add(), PassiveMembrane::C, SpikingNeuron::ModelFlag, and PassiveMembrane::R.

void notify ( void  )
virtual

Read out the current values from the list of Options.

Reimplemented from SpikingNeuron.

References PassiveMembrane::C, SpikingNeuron::notify(), and PassiveMembrane::R.

Member Data Documentation

double C
protected
double R
protected

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