values = myExpressModel.getOutput(startTime, state, values);
} else {
for (int i = 0; i < myNodes.length; i++) {
try {
InstantaneousOutput o = myNodes[i].getOrigin(myNodeOrigin).getValues();
float val = 0;
if (o instanceof SpikeOutput) {
val = ((SpikeOutput) o).getValues()[0] ? 1f / stepSize : 0f;
} else if (o instanceof RealOutput) {
val = ((RealOutput) o).getValues()[0];
} else {
throw new Error("Node output is of type " + o.getClass().getName()
+ ". DecodedOrigin can only deal with RealOutput and SpikeOutput, so it apparently has to be updated");
}
float[] decoder = getDynamicDecoder(i, val, startTime, endTime);
for (int j = 0; j < values.length; j++) {