The Physiologist's Friend Simulation API

ch.unizh.ini.friend.simulation.cells
Class PoissonSoma

java.lang.Object
  extended by ch.unizh.ini.friend.simulation.AbstractAcceptsInput
      extended by ch.unizh.ini.friend.simulation.cells.AbstractCell
          extended by ch.unizh.ini.friend.simulation.cells.AbstractSpikingCell
              extended by 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.
 
Fields inherited from class ch.unizh.ini.friend.simulation.cells.AbstractCell
newValue, value
 
Fields inherited from class ch.unizh.ini.friend.simulation.AbstractAcceptsInput
inputs
 
Constructor Summary
PoissonSoma()
           
 
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 ch.unizh.ini.friend.simulation.cells.AbstractSpikingCell
factory, factory, factory, factory, getComplexCellInstance, getDSSimpleCellInstance, getEvenSimpleCellInstance, getOddSimpleCellInstance
 
Methods inherited from class ch.unizh.ini.friend.simulation.cells.AbstractCell
output, update
 
Methods inherited from class ch.unizh.ini.friend.simulation.AbstractAcceptsInput
averageInputs, cloneObject, connectOneToAll, connectOneToOne, getCollectionInstance, getInput, getInputs, integrateInputs, setInput, setInputs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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.

Constructor Detail

PoissonSoma

public PoissonSoma()
Method Detail

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.

http://www.ini.unizh.ch/~tobi/friend