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.

Author:
Bryan Tripp

Constructor Summary
NEFUtil()
           
 
Method Summary
static float[][] getOutput(DecodedOrigin origin, float[][] input, SimulationMode mode)
          Calculates an instantaneous 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 instantaneous 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; must be DIRECT or CONSTANT_RATE
Returns:
Outputs from the given Origin for given inputs