ca.nengo.model.neuron.impl
Class LIFNeuronFactory
java.lang.Object
ca.nengo.model.neuron.impl.LIFNeuronFactory
- All Implemented Interfaces:
- NodeFactory, java.io.Serializable
public class LIFNeuronFactory
- extends java.lang.Object
- implements NodeFactory
A factory for leaky-integrate-and-fire neurons.
- Author:
- Bryan Tripp
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LIFNeuronFactory
public LIFNeuronFactory(float tauRC,
float tauRef,
PDF maxRate,
PDF intercept)
- Parameters:
tauRC
- Spike generator membrane time constant (s)tauRef
- Spike generator refractory time (s)maxRate
- Maximum firing rate distribution (spikes/s)intercept
- Level of summed input at which spiking begins (arbitrary current units)
LIFNeuronFactory
public LIFNeuronFactory()
- Uses default parameters.
getTauRef
public float getTauRef()
- Returns:
- Spike generator refractory time (s)
setTauRef
public void setTauRef(float tauRef)
- Parameters:
tauRef
- Spike generator refractory time (s)
getTauRC
public float getTauRC()
- Returns:
- Spike generator membrane time constant (s)
setTauRC
public void setTauRC(float tauRC)
- Parameters:
tauRC
- Spike generator membrane time constant (s)
getMaxRate
public PDF getMaxRate()
- Returns:
- Maximum firing rate distribution (spikes/s)
setMaxRate
public void setMaxRate(PDF maxRate)
- Parameters:
maxRate
- Maximum firing rate distribution (spikes/s)
getIntercept
public PDF getIntercept()
- Returns:
- Level of summed input at which spiking begins (arbitrary current units)
setIntercept
public void setIntercept(PDF intercept)
- Parameters:
intercept
- Level of summed input at which spiking begins (arbitrary current units)
make
public Neuron make(java.lang.String name)
throws StructuralException
- Specified by:
make
in interface NodeFactory
- Parameters:
name
- The name of the Node (unique within containing Ensemble or Network)
- Returns:
- A new Node
- Throws:
StructuralException
- for any problem that prevents construction- See Also:
NodeFactory.make(String)
getTypeDescription
public java.lang.String getTypeDescription()
- Specified by:
getTypeDescription
in interface NodeFactory
- Returns:
- A short description of the type of Node created by this factory
- See Also:
NodeFactory.getTypeDescription()