ch.unizh.ini.friend.simulation.cells
Class PoissonSoma
java.lang.Object
ch.unizh.ini.friend.simulation.AbstractAcceptsInput
ch.unizh.ini.friend.simulation.cells.AbstractCell
ch.unizh.ini.friend.simulation.cells.AbstractSpikingCell
ch.unizh.ini.friend.simulation.cells.PoissonSoma
- All Implemented Interfaces:
- AcceptsInput, SpikingCell, ServesOutput, Updateable, Serializable
public class PoissonSoma
- extends AbstractSpikingCell
A poisson spiking mechanism.
- Since:
- $Revision: 1.6 $
- Author:
- $Author: cmarti $
- See Also:
- Serialized Form
Field Summary |
protected static float |
MAX_SPIKE_RATE
Spike rate at weightedInputs() == 1.0f . |
protected Random |
r
The pseudo-random generator. |
Method Summary |
void |
compute(float dt)
Computes the new state of this component of the simulation. |
boolean |
isSpike()
Is the cell making a spike now? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_SPIKE_RATE
protected static final float MAX_SPIKE_RATE
- Spike rate at
weightedInputs() == 1.0f
.
- See Also:
- Constant Field Values
r
protected Random r
- The pseudo-random generator.
PoissonSoma
public PoissonSoma()
isSpike
public boolean isSpike()
- Is the cell making a spike now?
compute
public void compute(float dt)
- Computes the new state of this component of the simulation.
- Parameters:
dt
- The time that has passed since the last invocation.