|
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.Photoreceptor
ch.unizh.ini.friend.simulation.cells.ColorPhotoreceptor
public class ColorPhotoreceptor
A color-selective photoreceptor. The receptor is either sensitive to L, M, or S stimuli depending on it's cone type.
Field Summary | |
---|---|
static int |
L_CONE
Red selective (L cone) photoreceptor type. |
static int |
M_CONE
Green selective (M cone) photoreceptor type. |
static int |
NUM_CONES
Total number of cone types. |
static int |
S_CONE
Blue selective (S cone) photoreceptor type. |
Fields inherited from class ch.unizh.ini.friend.simulation.cells.Photoreceptor |
---|
ADAPTATION_TIME_CONSTANT, gain, highPass, shape, stimulus, TRANSIENT_GAIN |
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 | |
---|---|
ColorPhotoreceptor(ConvexPolygon shape,
ColorStimulus stimulus,
int type)
Creates a new color-selective photoreceptor. |
Method Summary | |
---|---|
float |
excitation()
Overridden to support color-specific excitation. |
static ArrayList[] |
getHexagonalArrayLists(int a,
float r,
float spacing,
ColorStimulus stimulus,
Collection shapes)
This method does almost the same as Photoreceptor#getHexagonalArrayListInstance. |
Methods inherited from class ch.unizh.ini.friend.simulation.cells.Photoreceptor |
---|
compute, getGradedOutput, getHexagonalArrayListInstance, getRetinotopicLocation, setRetinotopicLocation |
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 |
Field Detail |
---|
public static final int L_CONE
public static final int M_CONE
public static final int S_CONE
public static final int NUM_CONES
Constructor Detail |
---|
public ColorPhotoreceptor(ConvexPolygon shape, ColorStimulus stimulus, int type)
shape
- the shape of this photoreceptorstimulus
- the stimulus used to stimulate this photoreceptortype
- the cone type.Method Detail |
---|
public float excitation()
excitation
in class Photoreceptor
public static ArrayList[] getHexagonalArrayLists(int a, float r, float spacing, ColorStimulus stimulus, Collection shapes)
a
- the number of shapes making one sider
- the radius of the enclosing circle arround one photoreceptorspacing
- the additional distance between the photoreceptorsstimulus
- the stimulus to attach to the photoreceptorsshapes
- a collection the shapes of the photoreceptors are added to
|
http://www.ini.unizh.ch/~tobi/friend | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |