previous next Up Title Contents

Neuron_McGregor: Neural Cell Model


File name
MoNCMcGregor.[ch]


Description
This module implements a version of the McGregor model of a neural cell (??). Dependent upon the parameters used, it can model several different cells.


Example parameter file format
1.0e-3		Cell membrane time-constant, tm (s).
3.0e-3		Potassium decay time-constant, tGk (s).
20.0e-3		Threshold time-constant, tTh (s).
0.1		Accommodation constant, c (dimensionless).
0.08		Delayed rectifier postassium conductance, b (nano-Siemens).
15.0		Cell resting Threshold, Th0 (mV).
50.0		Action potential (mV).
-10.0		Reversal potential of the potassium conductance, Ek (mV).
-60.0		Cell resting potential Er (mV).



Test program directories
Tests/Models/Neuron, Tests/SSPrograms

Generic Module Routines

This module has the standard Generic Module Routines (see Basic Module Routines used in Generic Programming, page 52).

The RunModel_Neuron_McGregor(...) Process Routine

Syntax
BOOLN RunModel_Neuron_McGregor(EarObjectPtr data);


Returns
TRUE if the process is successful, otherwise it returns FALSE.

The GetPotentialResponse_Neuron_McGregor(...) Routine

Syntax
double GetPotentialResponse_Neuron_McGregor(double potential);


Returns
The potential response of the cell without the action potential (V).

The SetAccomConst_Neuron_McGregor(...) Routine

Syntax
BOOLN SetAccomConst_Neuron_McGregor(double theAccomConst);


Returns
TRUE if the function is successful, otherwise it returns FALSE.

The SetActionPotential_Neuron_McGregor(...) Routine

Syntax
BOOLN SetActionPotential_Neuron_McGregor(double theActionPotential);


Returns
TRUE if the function is successful, otherwise it returns FALSE.

The SetDelayedRectKCond_Neuron_McGregor(...) Routine

Syntax
BOOLN SetDelayedRectKCond_Neuron_McGregor(double theDelayedRectKCond);


Returns
TRUE if the function is successful, otherwise it returns FALSE.

The SetKDecayTConst_Neuron_McGregor(...) Routine

Syntax
BOOLN SetKDecayTConst_Neuron_McGregor(double theKDecayTConst);


Returns
TRUE if the function is successful, otherwise it returns FALSE.

The SetKEquilibriumPot_Neuron_McGregor(...) Routine

Syntax
BOOLN SetKEquilibriumPot_Neuron_McGregor(double theKEquilibriumPot);


Returns
TRUE if the function is successful, otherwise it returns FALSE.

The SetCellRestingPot_Neuron_McGregor(...) Routine

Syntax
BOOLN SetCellRestingPot_Neuron_McGregor(double theCellRestingPot);


Returns
TRUE if the function is successful, otherwise it returns FALSE.

The SetMembraneTConst_Neuron_McGregor(...) Routine

Syntax
BOOLN SetMembraneTConst_Neuron_McGregor(double theMembraneTConst);


Returns
TRUE if the function is successful, otherwise it returns FALSE.

The SetPars_Neuron_McGregor(...) Routine

Syntax
BOOLN SetPars_Neuron_McGregor(double tm, double tGk, double tTh, double c, double b, double tH0, double aP, double ek, double er);


Returns
TRUE if the function is successful, otherwise it returns FALSE.

The SetRestingThreshold_Neuron_McGregor(...) Routine

Syntax
BOOLN SetRestingThreshold_Neuron_McGregor(double theRestingThreshold);


Returns
TRUE if the function is successful, otherwise it returns FALSE.

The SetThresholdTConst_Neuron_McGregor(...) Routine

Syntax
BOOLN SetThresholdTConst_Neuron_McGregor(double theThresholdTConst);


Returns
TRUE if the function is successful, otherwise it returns FALSE.

Example: Tests/SSPrograms/ModelResp.c

Parameter file:ModelResp.par:
#
# SimulationSpec main parameter file.
#

output.dat				Output file.

SimSpecs/NC/MGPResp.sim	Simulation Specification file.

# Misc. parameters.

1		Number of repeat runs.
Output

Figure [130] The current step response of the McGregor neural cell model. The hyperpolarised and superpolarised responses were produced using the "MGPResp.sim" and "MGNResp.sim" simulation specifications respectively.


previous next Up Title Contents