Package RightWhaleEdgeDetector
Class RWESound
java.lang.Object
RightWhaleEdgeDetector.RWESound
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPeak
(int sliceNum, RWEDetectionPeak newPeak, int numOT) Add a new peak to extend the slice.void
Add one more bin to everything in the soundstatic int
static String
getTypeString
(int soundType)
-
Field Details
-
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
-
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()
-