ca.nengo.model.neuron.impl
Class PoissonSpikeGenerator.LinearFactory

java.lang.Object
  extended by ca.nengo.model.neuron.impl.PoissonSpikeGenerator.LinearFactory
All Implemented Interfaces:
SpikeGeneratorFactory, java.io.Serializable
Enclosing class:
PoissonSpikeGenerator

public static class PoissonSpikeGenerator.LinearFactory
extends java.lang.Object
implements SpikeGeneratorFactory

Creates PoissonSpikeGenerators with linear response functions.

Author:
Bryan Tripp
See Also:
Serialized Form

Constructor Summary
PoissonSpikeGenerator.LinearFactory()
           
 
Method Summary
 PDF getIntercept()
           
 PDF getMaxRate()
           
 boolean getRectified()
           
 SpikeGenerator make()
           
 void setIntercept(PDF intercept)
           
 void setMaxRate(PDF maxRate)
           
 void setRectified(boolean rectified)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PoissonSpikeGenerator.LinearFactory

public PoissonSpikeGenerator.LinearFactory()
Method Detail

getMaxRate

public PDF getMaxRate()
Returns:
Firing rate of produced SpikeGenerators when input current is 1

setMaxRate

public void setMaxRate(PDF maxRate)
Parameters:
maxRate - Firing rate of produced SpikeGenerators when input current is 1

getIntercept

public PDF getIntercept()
Returns:
Input current at which firing rate is zero

setIntercept

public void setIntercept(PDF intercept)
Parameters:
intercept - Input current at which firing rate is zero

getRectified

public boolean getRectified()
Returns:
If true, response functions will be rectified (firing rates > 0)

setRectified

public void setRectified(boolean rectified)
Parameters:
rectified - If true, response functions will be rectified (firing rates > 0)

make

public SpikeGenerator make()
Specified by:
make in interface SpikeGeneratorFactory
See Also:
SpikeGeneratorFactory.make()