jAER project on SourceForge

ch.unizh.ini.jaer.chip.retina
Class TestchipARCSLineSensorEventExtractor

java.lang.Object
  extended by ch.unizh.ini.jaer.chip.retina.TestchipARCSLineSensorEventExtractor
All Implemented Interfaces:
java.io.Serializable, EventExtractorInterface

public class TestchipARCSLineSensorEventExtractor
extends java.lang.Object
implements EventExtractorInterface, java.io.Serializable

Extracts x,y,pol from testchipARCs double line sensor retina. You pass in a raw address array, then internally, arrays are new'ed and the events are extracted to them. Results are accessed by referenc to fields like x, y that have been extracted. See the matlab function showLiveRetina, for example.

Author:
tobi
See Also:
Serialized Form

Field Summary
 double[] pol
          these fields reference the extracted events after <@link #extract} is called on a raw address buffer x,y 0-127, pol=-1,1
 double[] x
          these fields reference the extracted events after <@link #extract} is called on a raw address buffer x,y 0-127, pol=-1,1
 double[] y
          these fields reference the extracted events after <@link #extract} is called on a raw address buffer x,y 0-127, pol=-1,1
 
Constructor Summary
TestchipARCSLineSensorEventExtractor()
          Creates a new instance of RetinaEventExtractor
 
Method Summary
 void extract(int[] addresses, int[] timestamps)
          extracts events to another representation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public double[] x
these fields reference the extracted events after <@link #extract} is called on a raw address buffer x,y 0-127, pol=-1,1

These are doubles because matlab likes doubles.


y

public double[] y
these fields reference the extracted events after <@link #extract} is called on a raw address buffer x,y 0-127, pol=-1,1

These are doubles because matlab likes doubles.


pol

public double[] pol
these fields reference the extracted events after <@link #extract} is called on a raw address buffer x,y 0-127, pol=-1,1

These are doubles because matlab likes doubles.

Constructor Detail

TestchipARCSLineSensorEventExtractor

public TestchipARCSLineSensorEventExtractor()
Creates a new instance of RetinaEventExtractor

Method Detail

extract

public void extract(int[] addresses,
                    int[] timestamps)
Description copied from interface: EventExtractorInterface
extracts events to another representation

Specified by:
extract in interface EventExtractorInterface
Parameters:
addresses - the raw address-events

jAER project on SourceForge