class Channel

Models the channels that are present in the cell membrane - specifically the Sodium (Na), Calcium (Ca), and Potassium (K) channels.

Public Fields

[more]T_CHANNEL* source
For debugging & traceback
[more]int family
Classification code for the kind of channel this object is
[more]double mPower
Exponent that the activation particle (m) will be raised by during calculations
[more]double hPower
Exponent that the inactivation particle (h) will be raised by during calculations
[more]double ReversePot
Reversal Potential of the channel
[more]double eHalfMinM[3]
User defined values that influence activation particle (m) update equations through subtration from the compartment's membrane voltage
[more]double eHalfMinH[3]
User defined values that influence inactivation particle (h) update equations through subtration from the compartment's membrane voltage
[more]int nTauM
Number of values contained in vTauVoltageM (vTauValueM contains 1 additional value)
[more]double* vTauVoltageM
Array of voltages to be searched.
[more]double* vTauValueM
Array of tau values to be used in calculations involving the activation particle (m)
[more]int nTauH
Number of values contained in vTauVoltageH (vTauValueH contains 1 additional value)
[more]double* vTauVoltageH
Array of voltages to be searched.
[more]double* vTauValueH
Array of tau values to be used in calculations involving the inactivation particle (h)
[more]double* slopeFactorM
User defined values used to divide (scale) values during activation particle (m) update equations
[more]double* slopeFactorH
User defined values used to divide (scale) values during inactivation particle (h) update equations
[more]double unitaryG
Channel conductance value
[more]double strength
Scaler from 0-1 determines the final influence of this channel on electrical current
[more]double Ca_Exp
Exponent that calcium concentration will be raised by during calculations
[more]double Ca_Scale
Scaler value to multiply the calcium equations
[more]double Ca_Half_Min
User defined value computed in with calcium equations
[more]double Ca_Tau_Scale
Scaler value to multiply the time constant (tau) of calcium
[more]double I
channel electrical current

Public Methods

[more]double (Channel::*ptrCalcCurrent)(Compartment* )
Function pointer to appropriate CalculateCurrent function (set in the constructor)
[more]double GetTauH(double voltage)
Go through vTauVoltageH finding a voltage that is greater than the parameter, then return the corresponding entry in vTauValueH.
[more]double GetTauM(double voltage)
Go through vTauVoltageM finding a voltage that is greater than the parameter, then return the corresponding entry in vTauValueM.
[more]double GetCurrent(Compartment* )
Interface provided for the parent compartment to call the appropriate current calculation function.
[more]int Save( FILE* )
Write the channel state to a file.
[more]void Load( FILE* in, char* nothing )
Read the channel state from a file.
[more]short int getSlopeFactorSize( char particle )
Determine the size of the slopeFactor array (either M or H)


Documentation

Models the channels that are present in the cell membrane - specifically the Sodium (Na), Calcium (Ca), and Potassium (K) channels. In Neurobiology, these channels are responsible for the release of neurotransmitters (Ca) into the synapse, changing the membrane voltage potential to be closer to an Action Potential (Na and K) or inhibiting an Action Potential (Cl).

This code can create an object that will model channels of several different types, depending on the parameters in its input object. The type is determined by the Family keyword in the input. Channels are owned by a compartment, which may own any number of different types of channels.

oT_CHANNEL* source
For debugging & traceback

oint family
Classification code for the kind of channel this object is

odouble mPower
Exponent that the activation particle (m) will be raised by during calculations

odouble hPower
Exponent that the inactivation particle (h) will be raised by during calculations

odouble ReversePot
Reversal Potential of the channel

odouble eHalfMinM[3]
User defined values that influence activation particle (m) update equations through subtration from the compartment's membrane voltage

odouble eHalfMinH[3]
User defined values that influence inactivation particle (h) update equations through subtration from the compartment's membrane voltage

oint nTauM
Number of values contained in vTauVoltageM (vTauValueM contains 1 additional value)

odouble* vTauVoltageM
Array of voltages to be searched. When the correct voltage is found, the corresponding entry in vTauValueM will be used in calculations

odouble* vTauValueM
Array of tau values to be used in calculations involving the activation particle (m)

oint nTauH
Number of values contained in vTauVoltageH (vTauValueH contains 1 additional value)

odouble* vTauVoltageH
Array of voltages to be searched. When the correct voltage is found, the corresponding entry in vTauValueH will be used in calculations

odouble* vTauValueH
Array of tau values to be used in calculations involving the inactivation particle (h)

odouble* slopeFactorM
User defined values used to divide (scale) values during activation particle (m) update equations

odouble* slopeFactorH
User defined values used to divide (scale) values during inactivation particle (h) update equations

odouble unitaryG
Channel conductance value

odouble strength
Scaler from 0-1 determines the final influence of this channel on electrical current

odouble Ca_Exp
Exponent that calcium concentration will be raised by during calculations

odouble Ca_Scale
Scaler value to multiply the calcium equations

odouble Ca_Half_Min
User defined value computed in with calcium equations

odouble Ca_Tau_Scale
Scaler value to multiply the time constant (tau) of calcium

odouble (Channel::*ptrCalcCurrent)(Compartment* )
Function pointer to appropriate CalculateCurrent function (set in the constructor)

odouble GetTauH(double voltage)
Go through vTauVoltageH finding a voltage that is greater than the parameter, then return the corresponding entry in vTauValueH. If no entry is found, the last value of vTauValuH will be used.
Parameters:
voltage - membrane voltage of this channel's parent compartment @retern the appropriate time constant (tau)

odouble GetTauM(double voltage)
Go through vTauVoltageM finding a voltage that is greater than the parameter, then return the corresponding entry in vTauValueM. If no entry is found, the last value of vTauValueM will be used.
Parameters:
voltage - membrane voltage of this channel's parent compartment @retern the appropriate time constant (tau)

odouble GetCurrent(Compartment* )
Interface provided for the parent compartment to call the appropriate current calculation function. added by CWilson July 2000

oint Save( FILE* )
Write the channel state to a file.
Parameters:
out - destination file pointer
Returns:
the number of bytes written by the function

ovoid Load( FILE* in, char* nothing )
Read the channel state from a file. This structure has no character string, but "nothing" is included for consistency among load functions. May be eliminated later.
Parameters:
in - source file pointer
nothing - dummy string for char*(s) to point at

oshort int getSlopeFactorSize( char particle )
Determine the size of the slopeFactor array (either M or H)
Parameters:
particle - the desired particle, 'm' for activation 'h' for inactivation
Returns:
the number of elements contained in that array (from 0-3)

odouble I
channel electrical current


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.