public class NEFUtil
extends java.lang.Object
Constructor and Description |
---|
NEFUtil() |
Modifier and Type | Method and Description |
---|---|
static float[][] |
getOutput(DecodedOrigin origin,
float[][] input,
SimulationMode mode)
Calculates an input-output mapping for an ensemble.
|
public static float[][] getOutput(DecodedOrigin origin, float[][] input, SimulationMode mode)
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.