ca.nengo.model.neuron.impl
Class GruberSpikeGenerator.GruberDynamics
java.lang.Object
ca.nengo.dynamics.impl.AbstractDynamicalSystem
ca.nengo.model.neuron.impl.GruberSpikeGenerator.GruberDynamics
- All Implemented Interfaces:
- DynamicalSystem, java.io.Serializable, java.lang.Cloneable
- Enclosing class:
- GruberSpikeGenerator
public static class GruberSpikeGenerator.GruberDynamics
- extends AbstractDynamicalSystem
Implements dynamics of Gruber et al. bistable model of medium spiny neuron.
State corresponds to membrane potential, and output is firing rate, as a static
function of membrane potential.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GruberSpikeGenerator.GruberDynamics
public GruberSpikeGenerator.GruberDynamics(float resetPotential)
- Parameters:
resetPotential
- Potential at which membrane starts (is and reset to)
f
public float[] f(float t,
float[] u)
- Description copied from interface:
DynamicalSystem
- The dynamic equation.
- Specified by:
f
in interface DynamicalSystem
- Specified by:
f
in class AbstractDynamicalSystem
- Parameters:
u
- [driving current (~ 0 to 2); dopamine (~ 1 to 1.4)]t
- Time
- Returns:
- 1st derivative of state vector
- See Also:
AbstractDynamicalSystem.f(float, float[])
g
public float[] g(float t,
float[] u)
- Description copied from interface:
DynamicalSystem
- The output equation.
- Specified by:
g
in interface DynamicalSystem
- Specified by:
g
in class AbstractDynamicalSystem
- Parameters:
t
- Timeu
- Input vector
- Returns:
- Output vector
- See Also:
AbstractDynamicalSystem.g(float, float[])
getInputDimension
public int getInputDimension()
- Specified by:
getInputDimension
in interface DynamicalSystem
- Specified by:
getInputDimension
in class AbstractDynamicalSystem
- Returns:
- Dimension of input vector
- See Also:
AbstractDynamicalSystem.getInputDimension()
getOutputDimension
public int getOutputDimension()
- Specified by:
getOutputDimension
in interface DynamicalSystem
- Specified by:
getOutputDimension
in class AbstractDynamicalSystem
- Returns:
- Dimension of output vector
- See Also:
AbstractDynamicalSystem.getOutputDimension()
getOutputUnits
public Units getOutputUnits(int outputDimension)
- Description copied from class:
AbstractDynamicalSystem
- Returns Units.UNK by default.
- Specified by:
getOutputUnits
in interface DynamicalSystem
- Overrides:
getOutputUnits
in class AbstractDynamicalSystem
- Parameters:
outputDimension
- Numbered from 0
- Returns:
- Units of output in the given dimension
- See Also:
DynamicalSystem.getOutputUnits(int)