Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members  

Euler Class Reference

#include <amygdala/euler.h>

List of all members.

Public Methods

 Euler (unsigned int step, unsigned int min, unsigned int max, float synapticTimeConst, float membraneTimeConst)
 ~Euler ()
void GenExcitatoryTable (int resolution, float *tbl, float *derivTbl)
void GenInhibitoryTable (int resolution, float *tbl, float *derivTbl)

Protected Methods

void AlphaExcite ()
void AlphaInhibit ()

Protected Attributes

unsigned int stepSize
unsigned int plotMin
unsigned int plotMax
unsigned int plotSize
float * plotData
float * plotDeriv
long time
float lastV
float currV
float lastSlope
float currSlope
float tauS
float tauM


Detailed Description

Used to do numerical integrations using Euler's method and store the result in a lookup table. Designed to be used by AlphaNeuron, but could easily be extended for use by other classes to calculate different functions.
See also:
AlphaNeuron
Author:
Matt Grover


Constructor & Destructor Documentation

Euler::Euler unsigned int    step,
unsigned int    min,
unsigned int    max,
float    synapticTimeConst,
float    membraneTimeConst
 

Parameters:
step  Step size to be used for the integration. This should be smaller than the time step size used for the simulation. (microseconds)
min  Time of first element in the lookup table (microseconds).
max  Time of the last element in the lookup table (microseconds).
synapticTimeConst  Value of the synaptic time constant (ms).
membraneTimeConst  Value of the membrane time constant (ms).


Member Function Documentation

void Euler::AlphaExcite   [inline, protected]
 

Excitatory alpha function used for the integration.

See also:
AlphaNeuron

void Euler::AlphaInhibit   [inline, protected]
 

Inhibitory alpha function used for the integration.

See also:
AlphaNeuron

void Euler::GenExcitatoryTable int    resolution,
float *    tbl,
float *    derivTbl
 

Do the integration for the excitatory function and put the result into tbl and the derivative into derivTbl.

Parameters:
resolution  The step size to be used in the integration (us).
tbl  Pointer to table that holds the results.
derivTable  Table holding the derivative of the results.

void Euler::GenInhibitoryTable int    resolution,
float *    tbl,
float *    derivTbl
 

Do the integration for the inhibitory function and put the result into tbl and the derivative into derivTbl.

Parameters:
resolution  The step size to be used in the integration (us).
tbl  Pointer to table that holds the results.
derivTable  Table holding the derivative of the results.


The documentation for this class was generated from the following file:
Generated on Wed Sep 4 02:30:36 2002 for Amygdala by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002