public class DefaultExpressModel extends AdditiveGaussianExpressModel
Constructor and Description |
---|
DefaultExpressModel(DecodedOrigin origin) |
Modifier and Type | Method and Description |
---|---|
float[] |
getDistortion(float[] state,
float[] directValues) |
float[] |
getNoiseSD(float[] state,
float[] directValues) |
void |
update()
To be called after a change in radii or decoders.
|
public DefaultExpressModel(DecodedOrigin origin) throws SimulationException
origin
- The DecodedOrigin for which spike effects are to be modelledSimulationException
public void update() throws SimulationException
ExpressModel
SimulationException
public float[] getNoiseSD(float[] state, float[] directValues)
getNoiseSD
in class AdditiveGaussianExpressModel
state
- The value represented by the associated NEFEnsembledirectValues
- DIRECT mode output values of an Originca.nengo.model.nef.impl.AdditiveGaussianExpressModel#getNoiseSD(float[])
public float[] getDistortion(float[] state, float[] directValues)
getDistortion
in class AdditiveGaussianExpressModel
state
- The value represented by the associated NEFEnsembledirectValues
- DIRECT mode output values of an Originca.nengo.model.nef.impl.AdditiveGaussianExpressModel#getDistortion(float[])