jAER project on SourceForge

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

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

public class Tmpdiff128.Biasgen
extends Biasgen
implements ChipControlPanel

Describes IPots on tmpdiff128 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
Tmpdiff128.Biasgen(Chip chip)
          Creates a new instance of Biasgen for Tmpdiff128 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()
           
 IPot getDiff()
           
 IPot getDiffOff()
           
 IPot getDiffOn()
           
 IPot getPr()
           
 IPot getRefr()
           
 IPot getSf()
           
 void increaseBandwidth()
           
 void increaseRefractoryPeriod()
           
 void increaseThreshold()
           
 void moreOFFType()
           
 void moreONType()
           
 void setBandwidth(int val)
           
 void setMaximumFiringRate(int val)
           
 void setThreshold(int val)
           
 
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

Tmpdiff128.Biasgen

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

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

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()

setBandwidth

public void setBandwidth(int val)

setThreshold

public void setThreshold(int val)

setMaximumFiringRate

public void setMaximumFiringRate(int val)

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

getDiffOn

public IPot getDiffOn()

getDiffOff

public IPot getDiffOff()

getRefr

public IPot getRefr()

getPr

public IPot getPr()

getDiff

public IPot getDiff()

getSf

public IPot getSf()

jAER project on SourceForge