Package RightWhaleEdgeDetector
Class RWESound
java.lang.Object
RightWhaleEdgeDetector.RWESound
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddPeak(int sliceNum, RWEDetectionPeak newPeak, int numOT) Add a new peak to extend the slice.protected voidvoidAdd one more bin to everything in the soundstatic intstatic StringgetTypeString(int soundType)  
- 
Field Details
- 
deadCount
protected int deadCount - 
peakStolen
public boolean peakStolen - 
sliceCount
public int sliceCount - 
sliceList
public int[] sliceList - 
lowFreq
public int[] lowFreq - 
highFreq
public int[] highFreq - 
peakFreq
public int[] peakFreq - 
peakAmp
public double[] peakAmp - 
signal
public double signal - 
noise
public double noise - 
maxOT
public int maxOT - 
soundType
public int soundType 
 - 
 - 
Constructor Details
- 
RWESound
 
 - 
 - 
Method Details
- 
completeSound
protected void completeSound() - 
extendAllocation
public void extendAllocation()Add one more bin to everything in the sound - 
addPeak
Add a new peak to extend the slice.- Parameters:
 sliceNum- slice num relative to start of soundnewPeak- new peak with associated data.numOT- number of bins over threshold.
 - 
getTypeString
 - 
getTypeString
 - 
getNumSoundTypes
public static int getNumSoundTypes() 
 -