whistleDetector
Class BasicPeakDetector

java.lang.Object
  extended by PamguardMVC.PamProcess
      extended by whistleDetector.PeakDetector
          extended by whistleDetector.BasicPeakDetector
All Implemented Interfaces:
Annotator, PamObserver
Direct Known Subclasses:
BetterPeakDetector

public class BasicPeakDetector
extends PeakDetector


Nested Class Summary
 
Nested classes/interfaces inherited from class whistleDetector.PeakDetector
PeakDetector.PeakStatus
 
Field Summary
 
Fields inherited from class whistleDetector.PeakDetector
bgndUpdate0, bgndUpdate0_1, bgndUpdate1, bgndUpdate1_1, detectionThreshold, fftDataSource, freqGrad, nrData, overThreshold, peakDataBlock, searchBin0, searchBin1, slicesAnalysed, spectrumAverage, WARMUP_SLICES, whistleControl, whistleDetector
 
Fields inherited from class PamguardMVC.PamProcess
outputDataBlocks, processName, sampleRate
 
Constructor Summary
BasicPeakDetector(WhistleControl whistleControl, WhistleDetector whistleDetector, FFTDataBlock fftDataSource, int groupChannels)
           
 
Method Summary
 int getNumOutputDataBlocks()
           
 java.lang.String getPeakDetectorName()
           
 
Methods inherited from class whistleDetector.PeakDetector
getDetectionChannel, getEqualisationConstants, getGroupChannels, getPeakDataBlock, newData, pamStart, pamStop, prepareProcess, searchForPeaks, setGroupChannels, setSampleRate
 
Methods inherited from class PamguardMVC.PamProcess
absMillisecondsToSamples, absSamplesToMilliseconds, addOutputDataBlock, changedThreading, clearOldData, createAnnotations, destroyProcess, fillXMLElement, fillXMLParameters, getAncestorDataBlock, getAnnotation, getBackendProcess, getChainPosition, getCpuPercent, getNumAnnotations, getObserverName, getObserverObject, getOfflineData, getOutputDataBlock, getPamControlledUnit, getParentDataBlock, getParentProcess, getProcessName, getRawSourceDataBlock, getRequiredDataHistory, getSampleRate, getSourceDataBlock, getSourceProcess, isCanMultiThread, makePamProcess, masterClockUpdate, noteNewSettings, notifyModelChanged, relMillisecondsToSamples, relSamplesToMilliseconds, removeObservable, removeOutputDatablock, saveViewerData, setBackendProcess, setCanMultiThread, setParentDataBlock, setParentDataBlock, setProcessName, setupProcess, toString, update, updateData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicPeakDetector

public BasicPeakDetector(WhistleControl whistleControl,
                         WhistleDetector whistleDetector,
                         FFTDataBlock fftDataSource,
                         int groupChannels)
Method Detail

getPeakDetectorName

public java.lang.String getPeakDetectorName()
Specified by:
getPeakDetectorName in class PeakDetector

getNumOutputDataBlocks

public int getNumOutputDataBlocks()
Overrides:
getNumOutputDataBlocks in class PamProcess
Returns:
Total number of PamDataBlocks created by this process