ca.nengo.model.impl
Class PreciseSpikeOutputImpl
java.lang.Object
ca.nengo.model.impl.PreciseSpikeOutputImpl
- All Implemented Interfaces:
- InstantaneousOutput, PreciseSpikeOutput, SpikeOutput, java.io.Serializable, java.lang.Cloneable
public class PreciseSpikeOutputImpl
- extends java.lang.Object
- implements PreciseSpikeOutput
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PreciseSpikeOutputImpl
public PreciseSpikeOutputImpl(float[] spikeTimes,
Units units,
float time)
- Parameters:
spikeTimes
- @see #getSpikeTimes()units
- @see #getUnits()time
- @see #getTime()
getSpikeTimes
public float[] getSpikeTimes()
- Specified by:
getSpikeTimes
in interface PreciseSpikeOutput
- Returns:
- The times when the spikes occurred, as offsets from the previous time step.
Values negative values indicate no spike.
- See Also:
PreciseSpikeOutput.getSpikeTimes()
getValues
public boolean[] getValues()
- Specified by:
getValues
in interface SpikeOutput
- Returns:
- Instantaneous output in spiking channels (true means spike; false means
no spike).
- See Also:
SpikeOutput.getValues()
getUnits
public Units getUnits()
- Specified by:
getUnits
in interface InstantaneousOutput
- Returns:
- Units in which output is expressed.
- See Also:
InstantaneousOutput.getUnits()
getDimension
public int getDimension()
- Specified by:
getDimension
in interface InstantaneousOutput
- Returns:
- Dimension of output
- See Also:
InstantaneousOutput.getDimension()
getTime
public float getTime()
- Specified by:
getTime
in interface InstantaneousOutput
- Returns:
- Time at which output is produced.
- See Also:
InstantaneousOutput.getTime()
clone
public PreciseSpikeOutput clone()
throws java.lang.CloneNotSupportedException
- Specified by:
clone
in interface InstantaneousOutput
- Overrides:
clone
in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException