Nengo.ca

ca.nengo.model.neuron.impl
Class ALIFNeuronFactory

java.lang.Object
  extended by ca.nengo.model.neuron.impl.ALIFNeuronFactory
All Implemented Interfaces:
NodeFactory, java.io.Serializable

public class ALIFNeuronFactory
extends java.lang.Object
implements NodeFactory

A factory for adapting leaky integrate-and-fire neurons.

See Also:
Serialized Form

Constructor Summary
ALIFNeuronFactory()
          Uses default parameters.
ALIFNeuronFactory(PDF maxRate, PDF intercept, PDF incN, float tauRef, float tauRC, float tauN)
           
 
Method Summary
 PDF getIncN()
           
 PDF getIntercept()
           
 PDF getMaxRate()
           
 float getTauN()
           
 float getTauRC()
           
 float getTauRef()
           
 java.lang.String getTypeDescription()
           
 Node make(java.lang.String name)
           
 void setIncN(PDF incN)
           
 void setIntercept(PDF intercept)
           
 void setMaxRate(PDF maxRate)
           
 void setTauN(float tauN)
           
 void setTauRC(float tauRC)
           
 void setTauRef(float tauRef)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ALIFNeuronFactory

public ALIFNeuronFactory(PDF maxRate,
                         PDF intercept,
                         PDF incN,
                         float tauRef,
                         float tauRC,
                         float tauN)
Parameters:
maxRate - Maximum firing rate distribution (spikes/s)
intercept - Level of summed input at which spiking begins (arbitrary current units)
incN - Increment of adaptation-related ion concentration with each spike (arbitrary units)
tauRef - Spike generator refractory time (s)
tauRC - Spike generator membrane time constant (s)
tauN - Time constant of adaptation-related ion decay (s)

ALIFNeuronFactory

public ALIFNeuronFactory()
Uses default parameters.

Method Detail

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)

getIncN

public PDF getIncN()
Returns:
Increment of adaptation-related ion concentration with each spike (arbitrary units)

setIncN

public void setIncN(PDF incN)
Parameters:
incN - Increment of adaptation-related ion concentration with each spike (arbitrary units)

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)

getTauN

public float getTauN()
Returns:
Time constant of adaptation-related ion decay (s)

setTauN

public void setTauN(float tauN)
Parameters:
tauN - Time constant of adaptation-related ion decay (s)

make

public Node 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(java.lang.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()

Nengo.ca