jAER project on SourceForge

ch.unizh.ini.jaer.chip.retina
Class DVS128.Biasgen

java.lang.Object
  extended by net.sf.jaer.biasgen.Biasgen
      extended by ch.unizh.ini.jaer.chip.retina.DVS128.Biasgen
All Implemented Interfaces:
java.util.Observer, BiasgenHardwareInterface, BiasgenPreferences, ChipControlPanel, HardwareInterface
Enclosing class:
DVS128

public class DVS128.Biasgen
extends Biasgen
implements ChipControlPanel

Describes IPots on DVS128 retina chip. These are configured by a shift register as shown here:

tmpdiff128 shift register arrangement

This bias generator also offers an abstracted ChipControlPanel interface that is used for a simplified user interface.

Author:
tobi

Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.jaer.biasgen.Biasgen
Biasgen.HasPreference
 
Field Summary
 float MAX_DIFF_ON_CURRENT
           
 float MIN_DIFF_OFF_CURRENT
           
 float MIN_THRESHOLD_RATIO
          the minimum on/diff or diff/off current allowed by decreaseThreshold
 float RATIO
          the change in current from an increase* or decrease* call
 
Fields inherited from class net.sf.jaer.biasgen.Biasgen
controlPanel, hardwareInterface, potArray
 
Constructor Summary
DVS128.Biasgen(Chip chip)
          Creates a new instance of Biasgen for DVS128 with a given hardware interface
 
Method Summary
 javax.swing.JPanel buildControlPanel()
          Builds the default control panel and returns it.
 void decreaseBandwidth()
           
 void decreaseRefractoryPeriod()
           
 void decreaseThreshold()
           
 void increaseBandwidth()
           
 void increaseRefractoryPeriod()
           
 void increaseThreshold()
           
 void moreOFFType()
           
 void moreONType()
           
 void sendConfiguration(DVS128.Biasgen biasgen)
          sends the ipot values over the hardware interface if there is not a batch edit occuring.
 
Methods inherited from class net.sf.jaer.biasgen.Biasgen
close, endBatchEdit, exportPreferences, flashConfiguration, formatConfigurationBytes, getChip, getControlPanel, getHardwareInterface, getIPotGroups, getMasterbias, getName, getNumPots, getPotArray, getPotByName, getPotByNumber, getTypeName, importPreferences, isBatchEditOccurring, isInitialized, isOpen, loadPreferences, open, putPref, putPref, putPref, putPref, putPref, resume, sendConfiguration, setBatchEditOccurring, setChip, setControlPanel, setHardwareInterface, setIPotGroups, setMasterbias, setName, setPotArray, setPowerDown, showUnitializedBiasesWarningDialog, startBatchEdit, storePreferences, suspend, toString, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sf.jaer.biasgen.ChipControlPanel
getControlPanel
 

Field Detail

RATIO

public final float RATIO
the change in current from an increase* or decrease* call

See Also:
Constant Field Values

MIN_THRESHOLD_RATIO

public final float MIN_THRESHOLD_RATIO
the minimum on/diff or diff/off current allowed by decreaseThreshold

See Also:
Constant Field Values

MAX_DIFF_ON_CURRENT

public final float MAX_DIFF_ON_CURRENT
See Also:
Constant Field Values

MIN_DIFF_OFF_CURRENT

public final float MIN_DIFF_OFF_CURRENT
See Also:
Constant Field Values
Constructor Detail

DVS128.Biasgen

public DVS128.Biasgen(Chip chip)
Creates a new instance of Biasgen for DVS128 with a given hardware interface

Parameters:
chip - the chip this biasgen belongs to
Method Detail

sendConfiguration

public void sendConfiguration(DVS128.Biasgen biasgen)
                       throws HardwareInterfaceException
sends the ipot values over the hardware interface if there is not a batch edit occuring.

Parameters:
biasgen - the bias generator object. This parameter is necessary because the same method is used in the hardware interface, which doesn't know about the particular bias generator instance.
Throws:
HardwareInterfaceException - if there is a hardware error. If there is no interface, prints a message and just returns.
See Also:
Biasgen.startBatchEdit(), Biasgen.endBatchEdit()

increaseThreshold

public void increaseThreshold()

decreaseThreshold

public void decreaseThreshold()

increaseRefractoryPeriod

public void increaseRefractoryPeriod()

decreaseRefractoryPeriod

public void decreaseRefractoryPeriod()

increaseBandwidth

public void increaseBandwidth()

decreaseBandwidth

public void decreaseBandwidth()

moreONType

public void moreONType()

moreOFFType

public void moreOFFType()

buildControlPanel

public javax.swing.JPanel buildControlPanel()
Description copied from class: Biasgen
Builds the default control panel and returns it. This method builds a BiasgenPanel that encloses the PotArray in a PotPanel and the Masterbias in a MasterbiasPanel and returns a tabbed pane for these two components. Subclasses can override buildControlPanel to build their own control panel.

Overrides:
buildControlPanel in class Biasgen
Returns:
a new panel for controlling this bias generator functionally

jAER project on SourceForge