jAER project on SourceForge

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

java.lang.Object
  extended by java.util.Observable
      extended by net.sf.jaer.chip.Chip
          extended by net.sf.jaer.chip.Chip2D
              extended by net.sf.jaer.chip.AEChip
                  extended by ch.unizh.ini.jaer.chip.retina.AERetina
                      extended by ch.unizh.ini.jaer.chip.retina.Tmpdiff128
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Tmpdiff128StereoBoard, Tmpdiff128StereoPair

public class Tmpdiff128
extends AERetina
implements java.io.Serializable

Describes tmpdiff128 retina and its event extractor and bias generator. Two constructors ara available, the vanilla constructor is used for event playback and the one with a HardwareInterface parameter is useful for live capture. setHardwareInterface(net.sf.jaer.hardwareinterface.HardwareInterface) is used when the hardware interface is constructed after the retina object. The constructor that takes a hardware interface also constructs the biasgen interface.

Author:
tobi
See Also:
Serialized Form

Nested Class Summary
 class Tmpdiff128.Biasgen
          Describes IPots on tmpdiff128 retina chip.
 class Tmpdiff128.Extractor
          the event extractor for Tmpdiff128.
 
Field Summary
 
Fields inherited from class net.sf.jaer.chip.AEChip
aeInputStream, aeOutputStream, aeViewer, defaultEventFilters, eventExtractor, filterChain, renderer
 
Fields inherited from class net.sf.jaer.chip.Chip2D
canvas, filterFrame, numCellTypes, sizeX, sizeY
 
Fields inherited from class net.sf.jaer.chip.Chip
biasgen, hardwareInterface, log, name
 
Constructor Summary
Tmpdiff128()
          Creates a new instance of Tmpdiff128.
Tmpdiff128(HardwareInterface hardwareInterface)
          Creates a new instance of Tmpdiff128
 
Method Summary
 void setAeViewer(AEViewer v)
          Sets the AEViewer that will display this chip.
 void setHardwareInterface(HardwareInterface hardwareInterface)
          overrides the Chip setHardware interface to construct a biasgen if one doesn't exist already.
 
Methods inherited from class net.sf.jaer.chip.AEChip
addDefaultEventFilter, getAeInputStream, getAeOutputStream, getAeViewer, getDefaultEventFilterClasses, getDefaultEventFilterClassNames, getDescription, getEventClass, getEventExtractor, getFilterChain, getFilterFrame, getNumCellTypes, getRawAddressNumBits, getRenderer, isSubSamplingEnabled, setAeInputStream, setAeOutputStream, setEventClass, setEventExtractor, setFilterChain, setFilterFrame, setNumCellTypes, setRawAddressNumBits, setRenderer, setSubSamplingEnabled, toString
 
Methods inherited from class net.sf.jaer.chip.Chip2D
getCanvas, getMaxSize, getMinSize, getNumCells, getNumPixels, getPixelHeightUm, getPixelWidthUm, getSizeX, getSizeY, setCanvas, setName, setPixelHeightUm, setPixelWidthUm, setRenderer, setSizeX, setSizeY
 
Methods inherited from class net.sf.jaer.chip.Chip
getBiasgen, getHardwareInterface, getLastData, getName, getPreferredHardwareInterface, getPrefs, getRemoteControl, setBiasgen, setLastData, setPreferredHardwareInterface, setPrefs, setRemoteControl
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Tmpdiff128

public Tmpdiff128()
Creates a new instance of Tmpdiff128. No biasgen is constructed for this constructor, because there is no hardware interface defined.


Tmpdiff128

public Tmpdiff128(HardwareInterface hardwareInterface)
Creates a new instance of Tmpdiff128

Parameters:
hardwareInterface - an existing hardware interface. This constructer is preferred. It makes a new Biasgen object to talk to the on-chip biasgen.
Method Detail

setHardwareInterface

public void setHardwareInterface(HardwareInterface hardwareInterface)
overrides the Chip setHardware interface to construct a biasgen if one doesn't exist already. Sets the hardware interface and the bias generators hardware interface

Overrides:
setHardwareInterface in class Chip
Parameters:
hardwareInterface - the interface

setAeViewer

public void setAeViewer(AEViewer v)
Description copied from class: AEChip
Sets the AEViewer that will display this chip. Notifies Observers of this chip with the aeViewer instance.

Overrides:
setAeViewer in class AEChip
Parameters:
v - the viewer

jAER project on SourceForge