public class HodgkinHuxleyRule extends SpikingNeuronUpdateRule
NeuronUpdateRule.InputType
Modifier and Type | Field and Description |
---|---|
(package private) float |
vClampValue |
DEFAULT_INCREMENT, increment, inputType
Constructor and Description |
---|
HodgkinHuxleyRule() |
Modifier and Type | Method and Description |
---|---|
float |
convertV(float voltage)
Converts a voltage from the modern convention to the convention used by
the program.
|
NeuronUpdateRule |
deepCopy()
Returns a deep copy of the update rule.
|
double |
get_k_current() |
double |
get_m3h() |
double |
get_n4() |
double |
get_na_current() |
(package private) float |
get_vClampValue() |
double |
getCm() |
java.lang.String |
getDescription()
Returns a brief description of this update rule.
|
double |
getDt() |
float |
getEk() |
double |
getElapsedTime() |
float |
getEna() |
double |
getH() |
double |
getM() |
double |
getN() |
float |
getPerKChannels() |
float |
getPerNaChannels() |
double |
getTemp() |
Network.TimeType |
getTimeType()
Returns the type of time update (discrete or continuous) associated with
this neuron.
|
boolean |
getVClampOn() |
void |
init(Neuron neuron) |
void |
resetElapsedTime() |
(package private) void |
set_vClampValue(float vClampValue) |
void |
setCm(double inCm) |
void |
setDt(double inDt) |
void |
setEk(float Ek) |
void |
setEna(float Ena) |
void |
setPerKChannels(float perKChannels) |
void |
setPerNaChannels(float perNaChannels) |
void |
setTemp(double temp) |
void |
setVClampOn(boolean vClampOn) |
void |
update(Neuron neuron)
Apply the update rule.
|
clear, getLastSpikeTime, isSpikingNeuron, setHasSpiked, setLastSpikeTime
contextualDecrement, contextualIncrement, decrementActivation, getDefaultIncrement, getGraphicalLowerBound, getGraphicalUpperBound, getIncrement, getInputType, getRandomValue, getToolTipText, incrementActivation, isSkipsSynapticUpdates, setIncrement, setInputType
public void update(Neuron neuron)
update
in class SpikingNeuronUpdateRule
neuron
- public void init(Neuron neuron)
neuron
- public Network.TimeType getTimeType()
getTimeType
in class SpikingNeuronUpdateRule
public double get_n4()
public double get_m3h()
public float getEna()
public float getEk()
public void setEna(float Ena)
public void setEk(float Ek)
public double get_na_current()
public double get_k_current()
public void setPerNaChannels(float perNaChannels)
public float getPerNaChannels()
public void setPerKChannels(float perKChannels)
public float getPerKChannels()
public void setCm(double inCm)
public double getCm()
public void setDt(double inDt)
public double getDt()
public double getElapsedTime()
public void resetElapsedTime()
public double getN()
public double getM()
public double getH()
public float convertV(float voltage)
voltage
- public boolean getVClampOn()
public void setVClampOn(boolean vClampOn)
float get_vClampValue()
void set_vClampValue(float vClampValue)
public double getTemp()
public void setTemp(double temp)
public NeuronUpdateRule deepCopy()
NeuronUpdateRule
deepCopy
in class NeuronUpdateRule
public java.lang.String getDescription()
NeuronUpdateRule
getDescription
in class NeuronUpdateRule