Nengo.ca

ca.nengo.model.neuron.impl
Class HodgkinHuxleySpikeGenerator.HodgkinHuxleySystem

java.lang.Object
  extended by ca.nengo.dynamics.impl.AbstractDynamicalSystem
      extended by ca.nengo.model.neuron.impl.HodgkinHuxleySpikeGenerator.HodgkinHuxleySystem
All Implemented Interfaces:
DynamicalSystem, java.io.Serializable, java.lang.Cloneable
Enclosing class:
HodgkinHuxleySpikeGenerator

public static class HodgkinHuxleySpikeGenerator.HodgkinHuxleySystem
extends AbstractDynamicalSystem

Hodgkin-Huxley spiking dynamics.

See Also:
Serialized Form

Constructor Summary
HodgkinHuxleySpikeGenerator.HodgkinHuxleySystem()
          Set up the dynamical system
HodgkinHuxleySpikeGenerator.HodgkinHuxleySystem(float[] state)
           
 
Method Summary
 float[] f(float t, float[] u)
          The dynamic equation.
 float[] g(float t, float[] u)
          The output equation.
 int getInputDimension()
           
 int getOutputDimension()
           
 
Methods inherited from class ca.nengo.dynamics.impl.AbstractDynamicalSystem
clone, getOutputUnits, getState, setState
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HodgkinHuxleySpikeGenerator.HodgkinHuxleySystem

public HodgkinHuxleySpikeGenerator.HodgkinHuxleySystem(float[] state)
Parameters:
state - Initial state

HodgkinHuxleySpikeGenerator.HodgkinHuxleySystem

public HodgkinHuxleySpikeGenerator.HodgkinHuxleySystem()
Set up the dynamical system

Method Detail

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:
t - Time
u - Input vector
Returns:
1st derivative of state vector
See Also:
DynamicalSystem.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 - Time
u - 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()

Nengo.ca