ch.unizh.ini.jaer.chip.cochlea
Class CochleaAMSEvent
java.lang.Object
net.sf.jaer.event.BasicEvent
net.sf.jaer.event.TypedEvent
ch.unizh.ini.jaer.chip.cochlea.BinauralCochleaEvent
ch.unizh.ini.jaer.chip.cochlea.CochleaAMSEvent
- All Implemented Interfaces:
- EventInterface<BasicEvent>
public class CochleaAMSEvent
- extends BinauralCochleaEvent
The events that CochleaAMS1b returns. These have a channel (0-63), an ear (left/right), a filter type (LPF, BPF), and a threshold (0-3).
Each channel of one ear has 4 LPF cells and 4 BPF cells.
- Author:
- tobi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
threshold
public byte threshold
CochleaAMSEvent
public CochleaAMSEvent()
getNumCellTypes
public int getNumCellTypes()
- Overrides getNumCellTypes to be 16 (2 for left/right ear * 2 for lowpass/bandpass filter * 4 cells of each type).
- Specified by:
getNumCellTypes
in interface EventInterface<BasicEvent>
- Overrides:
getNumCellTypes
in class BinauralCochleaEvent
- Returns:
- 16
getEar
public BinauralCochleaEvent.Ear getEar()
- Overrides:
getEar
in class BinauralCochleaEvent
getFilterType
public CochleaAMSEvent.FilterType getFilterType()
getThreshold
public byte getThreshold()