jAER project on SourceForge

ch.unizh.ini.jaer.chip.cochlea
Class CochleaAMSEvent

java.lang.Object
  extended by net.sf.jaer.event.BasicEvent
      extended by net.sf.jaer.event.TypedEvent
          extended by ch.unizh.ini.jaer.chip.cochlea.BinauralCochleaEvent
              extended by 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

Nested Class Summary
static class CochleaAMSEvent.FilterType
           
 
Nested classes/interfaces inherited from class ch.unizh.ini.jaer.chip.cochlea.BinauralCochleaEvent
BinauralCochleaEvent.Ear
 
Field Summary
 byte threshold
           
 
Fields inherited from class net.sf.jaer.event.TypedEvent
type
 
Fields inherited from class net.sf.jaer.event.BasicEvent
timestamp, x, y
 
Constructor Summary
CochleaAMSEvent()
           
 
Method Summary
 BinauralCochleaEvent.Ear getEar()
           
 CochleaAMSEvent.FilterType getFilterType()
           
 int getNumCellTypes()
          Overrides getNumCellTypes to be 16 (2 for left/right ear * 2 for lowpass/bandpass filter * 4 cells of each type).
 byte getThreshold()
           
 
Methods inherited from class net.sf.jaer.event.TypedEvent
copyFrom, getType, toString
 
Methods inherited from class net.sf.jaer.event.BasicEvent
getTimestamp, getX, getY, setTimestamp, setX, setY
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

threshold

public byte threshold
Constructor Detail

CochleaAMSEvent

public CochleaAMSEvent()
Method Detail

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

jAER project on SourceForge