The Physiologist's Friend Simulation API

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

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.IntegrateFireCell
                  extended by ch.unizh.ini.friend.simulation.cells.GanglionCell
All Implemented Interfaces:
AcceptsInput, SpikingCell, ServesOutput, Updateable, Retinotopic, Serializable

public class GanglionCell
extends IntegrateFireCell
implements Retinotopic

Represents a retinal ganglion cell.

Since:
$Revision: 1.8 $
Author:
$Author: tobi $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class ch.unizh.ini.friend.simulation.cells.IntegrateFireCell
INPUT_WEIGHT, integrationPotential, leakTime, maxRate, newSpike, potasiumReversal, spike, SPIKE_RATE_TIME_SCALE, spikeRateMeasurementWindow, threshold
 
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
GanglionCell()
          Creates a new instance of GanglionCell
GanglionCell(Collection inputs)
          Creates a new instance with the given collections of inputs.
GanglionCell(ServesOutput input)
          Creates a new instance with the given input.
 
Method Summary
static ArrayList getArrayListInstance(ArrayList inputs)
          Returns a list of GanglionCell with the default input weight and one input from the given list of inputs.
static ArrayList getArrayListInstance(ArrayList[] inputs, float[] weights)
          Returns a list of GanglionCells with the given input weight and one input from the given list of inputs (for each array index).
static ArrayList getArrayListInstance(ArrayList on_inputs, ArrayList off_inputs)
          Returns a list of GanglionCells with positive/negative default input weight and one input from the given two list of inputs.
 RetinotopicLocation getRetinotopicLocation()
          return the RetinotopicLocaton of the cell
 void setRetinotopicLocation(RetinotopicLocation p)
          set the location
 
Methods inherited from class ch.unizh.ini.friend.simulation.cells.IntegrateFireCell
compute, getLeakTime, getMaxRate, getPotasiumReversal, getSpikeRateMeasurementWindow, getThreshold, isSpike, setLeakTime, setMaxRate, setPotasiumReversal, setSpikeRateMeasurementWindow, setThreshold, update
 
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
 
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
 

Constructor Detail

GanglionCell

public GanglionCell()
Creates a new instance of GanglionCell


GanglionCell

public GanglionCell(Collection inputs)
Creates a new instance with the given collections of inputs.

Parameters:
inputs - The collection of inputs.

GanglionCell

public GanglionCell(ServesOutput input)
Creates a new instance with the given input.

Parameters:
input - The input.
Method Detail

getArrayListInstance

public static ArrayList getArrayListInstance(ArrayList inputs)
Returns a list of GanglionCell with the default input weight and one input from the given list of inputs.

Parameters:
inputs - A list of cells, each providing the first input to one bipolar cell.
Returns:
The list of created cells.

getArrayListInstance

public static ArrayList getArrayListInstance(ArrayList on_inputs,
                                             ArrayList off_inputs)
Returns a list of GanglionCells with positive/negative default input weight and one input from the given two list of inputs.

Parameters:
on_inputs - positive inputs.
off_inputs - negative inputs.
Returns:
Created cells.

getArrayListInstance

public static ArrayList getArrayListInstance(ArrayList[] inputs,
                                             float[] weights)
Returns a list of GanglionCells with the given input weight and one input from the given list of inputs (for each array index). The location is set the same as the corresponding input cell.

Parameters:
inputs - An array of lists of cells, each providing the first input to one bipolar cell.
weights - The input weights.
Returns:
The list of created cells.

getRetinotopicLocation

public RetinotopicLocation getRetinotopicLocation()
return the RetinotopicLocaton of the cell

Specified by:
getRetinotopicLocation in interface Retinotopic
Returns:
RetinotopicLocation of cell

setRetinotopicLocation

public void setRetinotopicLocation(RetinotopicLocation p)
set the location

Specified by:
setRetinotopicLocation in interface Retinotopic
Parameters:
p - to set the cell to. This is generally returned from another cell and is set during construction.

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