IshmaelDetector
Class IshPeakProcess
java.lang.Object
PamguardMVC.PamProcess
IshmaelDetector.IshPeakProcess
- All Implemented Interfaces:
- Annotator, PamObserver
public class IshPeakProcess
- extends PamProcess
| 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, prepareProcess, relMillisecondsToSamples, relSamplesToMilliseconds, removeObservable, removeOutputDatablock, saveViewerData, setBackendProcess, setCanMultiThread, setParentDataBlock, setProcessName, setupProcess, toString, update, updateData |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ishDetControl
IshDetControl ishDetControl
outputDataBlock
PamDataBlock<IshDetection> outputDataBlock
savedFftLength
int savedFftLength
outData
double[] outData
minTimeN
long minTimeN
refractoryTimeN
long refractoryTimeN
perChannelInfo
IshPeakProcess.PerChannelInfo[] perChannelInfo
IshPeakProcess
public IshPeakProcess(IshDetControl ishDetControl,
PamDataBlock parentDataBlock)
setParentDataBlock
public void setParentDataBlock(PamDataBlock newParentDataBlock)
- Description copied from class:
PamProcess
- Set a parent data block with the default options of rethreading
if set
- Overrides:
setParentDataBlock in class PamProcess
- Parameters:
newParentDataBlock - source data block.
getChannelMap
public int getChannelMap()
setSampleRate
public void setSampleRate(float sampleRate,
boolean notify)
- Description copied from interface:
PamObserver
- New sample rate
- Specified by:
setSampleRate in interface PamObserver- Overrides:
setSampleRate in class PamProcess
notify - Notify other PamObservers and PamObservables in the chain.
setupConnections
public void setupConnections()
prepareMyParams
protected void prepareMyParams()
- Calculate any subsidiary values needed for processing. These get recalculated
whenever the sample rate changes (via setSampleRate, which is also called after
the params dialog box closes).
prepareForRun
public void prepareForRun()
newData
public void newData(PamObservable o,
PamDataUnit arg1)
- Overrides:
newData in class PamProcess
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 class PamProcess
pamStop
public void pamStop()
- Description copied from class:
PamProcess
- Stops the process.
- Specified by:
pamStop in class PamProcess