Package likelihoodDetectionModule
Class LikelihoodFFTProcess
java.lang.Object
PamguardMVC.PamProcess
likelihoodDetectionModule.LikelihoodFFTProcess
- All Implemented Interfaces:
PamObserver
,ProcessAnnotator
-
Constructor Summary
ConstructorDescriptionLikelihoodFFTProcess
(PamControlledUnit pamControlledUnit, PamDataBlock parentDataBlock, LikelihoodFFTParameters params) -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
boolean
getInUse()
long
void
newData
(PamObservable obs, PamDataUnit pamRawData) void
pamStart()
Called for each process to tell it to start (may not be necessary for processes which are listening for data anyway).void
pamStop()
Stops the process.void
setInUse
(boolean value) void
setupFFT()
toString()
Methods inherited from class PamguardMVC.PamProcess
absMillisecondsToSamples, absSamplesToMilliseconds, addData, addMultiPlexDataBlock, addOutputDataBlock, changedThreading, clearOldData, createAnnotations, destroyProcess, dumpBufferStatus, flushDataBlockBuffers, getAncestorDataBlock, getAnnotation, getChainPosition, getCompatibleDataUnits, getCpuPercent, getFrequencyRange, getLastSourceNotificationObject, getLastSourceNotificationType, getMuiltiplexDataBlock, getNumAnnotations, getNumMuiltiplexDataBlocks, getNumOutputDataBlocks, getObserverName, getObserverObject, getOfflineData, getOfflineData, getOutputDataBlock, getOutputDataBlocks, getPamControlledUnit, getParentDataBlock, getParentDataBlocks, getParentProcess, getProcessCheck, getRawSourceDataBlock, getRawSourceDataBlock, getSampleRate, getSourceDataBlock, getSourceProcess, hasOutputDatablock, isCanMultiThread, isExternalProcess, isMultiplex, makePamProcess, masterClockUpdate, noteNewSettings, notifyModelChanged, prepareProcess, prepareProcessOK, processNewBuoyData, receiveSourceNotification, relMillisecondsToSamples, relSamplesToMilliseconds, removeAllDataBlocks, removeAllMultiPlexDataBlocks, removeMultiPlexDataBlock, removeObservable, removeOutputDatablock, resetDataBlocks, saveViewerData, setCanMultiThread, setExternalProcess, setMultiplex, setParentDataBlock, setParentDataBlock, setProcessCheck, setProcessName, setSampleRate, setupProcess, updateData
-
Constructor Details
-
LikelihoodFFTProcess
public LikelihoodFFTProcess(PamControlledUnit pamControlledUnit, PamDataBlock parentDataBlock, LikelihoodFFTParameters params)
-
-
Method Details
-
getParameters
-
setInUse
public void setInUse(boolean value) -
getInUse
public boolean getInUse() -
toString
- Overrides:
toString
in classPamProcess
-
getProcessName
- Overrides:
getProcessName
in classPamProcess
- Returns:
- Name of the PamProcess
-
setupFFT
public void setupFFT() -
getFftLength
public int getFftLength() -
getFftHop
public int getFftHop() -
getChannelMap
public int getChannelMap() -
newData
- Overrides:
newData
in classPamProcess
-
getRequiredDataHistory
- Specified by:
getRequiredDataHistory
in interfacePamObserver
- Overrides:
getRequiredDataHistory
in classPamProcess
- Parameters:
arg
- optional argument from PamObservable- Returns:
- time in milliseconds required by data held in PamObservable
-
pamStart
public void pamStart()Description copied from class:PamProcess
Called for each process to tell it to start (may not be necessary for processes which are listening for data anyway).- Specified by:
pamStart
in classPamProcess
-
pamStop
public void pamStop()Description copied from class:PamProcess
Stops the process.- Specified by:
pamStop
in classPamProcess
-
getOutputData
-