ch.unizh.ini.jaer.chip.retina
Class Tmpdiff128.Biasgen
java.lang.Object
net.sf.jaer.biasgen.Biasgen
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:
This bias generator also offers an abstracted ChipControlPanel interface that is used for a simplified user interface.
- Author:
- tobi
Constructor Summary |
Tmpdiff128.Biasgen(Chip chip)
Creates a new instance of Biasgen for Tmpdiff128 with a given hardware interface |
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 |
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
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
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()