|
The Physiologist's Friend Simulation API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.unizh.ini.friend.simulation.AbstractAcceptsInput
ch.unizh.ini.friend.simulation.cells.AbstractCell
ch.unizh.ini.friend.simulation.cells.AbstractSpikingCell
public abstract class AbstractSpikingCell
Abstract class providing common methods for spiking cells.
Field Summary |
---|
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 | |
---|---|
AbstractSpikingCell()
Creates a new instance with currently no inputs. |
|
AbstractSpikingCell(Collection inputs)
Creates a new instance with the given collections of inputs. |
|
AbstractSpikingCell(int n)
Creates a new instance with currently no inputs and with the given initial capacity. |
|
AbstractSpikingCell(ServesOutput input)
Creates a new instance with the given input. |
Method Summary | |
---|---|
static AbstractSpikingCell |
factory(String classname)
Returns an instance of a subclass of AbstractSpikingCell given by the name. |
static AbstractSpikingCell |
factory(String classname,
Collection inputs,
Collection weights)
Returns an instance of a subclass of AbstractSpikingCell given by the name
with the given collections of inputs and weights. |
static AbstractSpikingCell |
factory(String classname,
int n)
Returns an instance of a subclass of AbstractSpikingCell given by the name
with currently no inputs and with the given initial capacity. |
static AbstractSpikingCell |
factory(String classname,
ServesOutput input,
float weight)
Returns an instance of a subclass of AbstractSpikingCell given by the name
with the given input and weight. |
static AbstractSpikingCell |
getComplexCellInstance(String classname,
Collection onCells,
Collection offCells,
Collection cells,
Retinotopic centeredOn,
HexDirection ori)
Returns a new instance of ComplexCell. |
static AbstractSpikingCell |
getDSSimpleCellInstance(String classname,
Collection onCells,
Collection offCells,
Collection cells,
Retinotopic centeredOn,
HexDirection ori)
Returns a new instance of a direction-selective simple cell, composed with input from two simple cells, one effectively shunting the input from the other. |
static AbstractSpikingCell |
getEvenSimpleCellInstance(String classname,
Collection onCells,
Collection offCells,
Retinotopic centeredOn,
HexDirection ori)
Returns a new instance of a even-type simple cell. |
static AbstractSpikingCell |
getOddSimpleCellInstance(String classname,
Collection onCells,
Collection offCells,
Retinotopic centeredOn,
HexDirection ori)
Returns a new instance of a odd-type simple cell. |
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 |
Methods inherited from interface ch.unizh.ini.friend.simulation.cells.SpikingCell |
---|
isSpike |
Methods inherited from interface ch.unizh.ini.friend.simulation.Updateable |
---|
compute |
Constructor Detail |
---|
public AbstractSpikingCell()
public AbstractSpikingCell(int n)
n
- Number of initial capacity for inputs.public AbstractSpikingCell(Collection inputs)
inputs
- The collection of inputs.public AbstractSpikingCell(ServesOutput input)
input
- The input.Method Detail |
---|
public static AbstractSpikingCell factory(String classname)
AbstractSpikingCell
given by the name.
classname
- Name of the subclass of AbstractSpikingCell
to create.
public static AbstractSpikingCell factory(String classname, Collection inputs, Collection weights)
AbstractSpikingCell
given by the name
with the given collections of inputs and weights.
classname
- Name of the subclass of AbstractSpikingCell
to create.inputs
- The collection of inputs.weights
- The collection of weights (Float instances).
public static AbstractSpikingCell factory(String classname, int n)
AbstractSpikingCell
given by the name
with currently no inputs and with the given initial capacity.
classname
- Name of the subclass of AbstractSpikingCell
to create.n
- Number of initial capacity for inputs.
public static AbstractSpikingCell factory(String classname, ServesOutput input, float weight)
AbstractSpikingCell
given by the name
with the given input and weight.
classname
- Name of the subclass of AbstractSpikingCell
to create.input
- The input.weight
- Its weight.
public static AbstractSpikingCell getComplexCellInstance(String classname, Collection onCells, Collection offCells, Collection cells, Retinotopic centeredOn, HexDirection ori)
classname
- Name of the subclass of AbstractSpikingCell to be created.onCells
- The on-ganglion cells.offCells
- The off-ganglion cells.cells
- The cells of the simulation. CLEAN UP: removecenteredOn
- the cell is centered hereori
- the orientation. This orientation is added to rotate the cells RF. Orientation 0 means a cell that is horizontally tuned.
public static AbstractSpikingCell getDSSimpleCellInstance(String classname, Collection onCells, Collection offCells, Collection cells, Retinotopic centeredOn, HexDirection ori)
potasium reversal potential
,
the inhibitory input acts effectively as a shunting inhibition. The result is a null-inhibition-type Barlow-Levick direction selective cell.
classname
- Name of the subclass of AbstractSpikingCell to be created.onCells
- The on-ganglion cells.offCells
- The off-ganglion cells.cells
- The cells of the simulation. CLEAN UP: removecenteredOn
- the cell is centered hereori
- the orientation. This orientation is added to rotate the cells RF. Orientation 0 means a cell that is horizontally tuned.
public static AbstractSpikingCell getEvenSimpleCellInstance(String classname, Collection onCells, Collection offCells, Retinotopic centeredOn, HexDirection ori)
classname
- Name of the subclass of AbstractSpikingCell to be created.onCells
- The on-ganglion cells.offCells
- The off-ganglion cells.centeredOn
- the cell is centered hereori
- the orientation. This orientation is added to rotate the cells RF.
Orientation HexDirection.E
is a cell that is tuned for bright stripes at 60 deg CCW from horizontal orientation.
public static AbstractSpikingCell getOddSimpleCellInstance(String classname, Collection onCells, Collection offCells, Retinotopic centeredOn, HexDirection ori)
classname
- Name of the subclass of AbstractSpikingCell to be created.onCells
- The on-ganglion cells.offCells
- The off-ganglion cells.centeredOn
- a Retinotopic cell whose on which the instance is centeredori
- the orientation of the cell. HexDirection.E
,
for example, results in an OddSimpleCell
with vertical orientation, which is excited by brightness on the right and darkness on the left.
|
http://www.ini.unizh.ch/~tobi/friend | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |