IshmaelDetector
Class EnergySumProcess

java.lang.Object
  extended by PamguardMVC.PamProcess
      extended by IshmaelDetector.IshDetFnProcess
          extended by IshmaelDetector.EnergySumProcess
All Implemented Interfaces:
Annotator, PamObserver

public class EnergySumProcess
extends IshDetFnProcess


Field Summary
(package private)  int hiBin
           
(package private)  int loBin
           
(package private)  int savedGramHeight
           
(package private)  int sumLength
           
(package private)  boolean useDB
           
 
Fields inherited from class IshmaelDetector.IshDetFnProcess
channel, ishDetControl, outputDataBlock
 
Fields inherited from class PamguardMVC.PamProcess
outputDataBlocks, processName, sampleRate
 
Constructor Summary
EnergySumProcess(EnergySumControl energySumControl, PamDataBlock parentDataBlock)
           
 
Method Summary
 float getDetSampleRate()
           
 float getHiFreq()
           
 float getLoFreq()
           
 java.lang.String getLongName()
           
 java.lang.String getNumberName()
           
 java.lang.Class inputDataClass()
           
 void newData(PamObservable o, PamDataUnit arg1)
           
protected  void prepareMyParams()
           
 
Methods inherited from class IshmaelDetector.IshDetFnProcess
getChannelMap, getInputDataBlock, getOutputDataUnit, pamStart, pamStop, prepareProcess, setSampleRate, setupConnections
 
Methods inherited from class PamguardMVC.PamProcess
absMillisecondsToSamples, absSamplesToMilliseconds, addOutputDataBlock, changedThreading, clearOldData, createAnnotations, destroyProcess, fillXMLElement, fillXMLParameters, getAncestorDataBlock, getAnnotation, getBackendProcess, getChainPosition, getCpuPercent, getNumAnnotations, getNumOutputDataBlocks, 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
 

Field Detail

savedGramHeight

int savedGramHeight

loBin

int loBin

hiBin

int hiBin

sumLength

int sumLength

useDB

boolean useDB
Constructor Detail

EnergySumProcess

public EnergySumProcess(EnergySumControl energySumControl,
                        PamDataBlock parentDataBlock)
Method Detail

getLongName

public java.lang.String getLongName()
Specified by:
getLongName in class IshDetFnProcess

getNumberName

public java.lang.String getNumberName()

inputDataClass

public java.lang.Class inputDataClass()
Specified by:
inputDataClass in class IshDetFnProcess

getDetSampleRate

public float getDetSampleRate()
Specified by:
getDetSampleRate in class IshDetFnProcess
Returns:
the rate at which detection samples arrive, which for an FFT based detector is the FFT frame rate.

prepareMyParams

protected void prepareMyParams()
Overrides:
prepareMyParams in class IshDetFnProcess

getHiFreq

public float getHiFreq()
Specified by:
getHiFreq in class IshDetFnProcess
Returns:
the highest frequency of the detection - e.g. sampleRate/2 or the upper bound of the detection kernel

getLoFreq

public float getLoFreq()
Specified by:
getLoFreq in class IshDetFnProcess
Returns:
the lowest frequency of the detection - e.g. 0 or the lower bound of the detection kernel

newData

public void newData(PamObservable o,
                    PamDataUnit arg1)
Overrides:
newData in class PamProcess