Nengo.ca

ca.nengo.model.nef.impl
Class NEFUtil

java.lang.Object
  extended by ca.nengo.model.nef.impl.NEFUtil

public class NEFUtil
extends java.lang.Object

Utility methods for related to Neural Engineering Framework.


Constructor Summary
NEFUtil()
           
 
Method Summary
static float[][] getOutput(DecodedOrigin origin, float[][] input, SimulationMode mode)
          Calculates an input-output mapping for an ensemble.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NEFUtil

public NEFUtil()
Method Detail

getOutput

public static float[][] getOutput(DecodedOrigin origin,
                                  float[][] input,
                                  SimulationMode mode)
Calculates an input-output mapping for an ensemble.

Parameters:
origin - The origin from which to take the output (must belong to an NEFEnsemble)
input - Set of inputs directly into the ensemble (not through termination mapping/dynamics)
mode - SimulationMode in which to calculate the mapping. If DIRECT or CONSTANT_RATE, each input is treated separately and causes an independent output. Otherwise inputs are applied at 1ms time steps in a simulation, and neuron states are maintained across steps.
Returns:
Outputs from the given Origin for given inputs

Nengo.ca