Package spectrogramNoiseReduction
Class SpectrogramNoiseProcess
java.lang.Object
PamguardMVC.PamProcess
spectrogramNoiseReduction.SpectrogramNoiseProcess
- All Implemented Interfaces:
PamObserver
,ProcessAnnotator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAnnotation
(PamDataBlock pamDataBlock, int annotation) Get an AnnotationA list of data block class types which are compatible as parent data blocks for the PamProcess.int
getNumAnnotations
(PamDataBlock pamDataBlock) int
getOfflineData
(OfflineDataLoadInfo offlineLoadDataInfo) void
void
newData
(PamObservable o, PamDataUnit arg) 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
Called for each process before any of them receive the PamStart commandvoid
setNoiseSettings
(SpectrogramNoiseSettings noiseSettings) void
setParentDataBlock
(FFTDataBlock fftDataBlock) void
called for every process once the systemmodel has been created.Methods inherited from class PamguardMVC.PamProcess
absMillisecondsToSamples, absSamplesToMilliseconds, addData, addMultiPlexDataBlock, addOutputDataBlock, changedThreading, clearOldData, createAnnotations, destroyProcess, dumpBufferStatus, flushDataBlockBuffers, getAncestorDataBlock, getChainPosition, getCpuPercent, getFrequencyRange, getLastSourceNotificationObject, getLastSourceNotificationType, getMuiltiplexDataBlock, getNumMuiltiplexDataBlocks, getNumOutputDataBlocks, getObserverName, getObserverObject, getOfflineData, getOutputDataBlock, getOutputDataBlocks, getPamControlledUnit, getParentDataBlock, getParentDataBlocks, getParentProcess, getProcessCheck, getProcessName, getRawSourceDataBlock, getRawSourceDataBlock, getRequiredDataHistory, getSampleRate, getSourceDataBlock, getSourceProcess, hasOutputDatablock, isCanMultiThread, isExternalProcess, isMultiplex, makePamProcess, masterClockUpdate, noteNewSettings, notifyModelChanged, prepareProcessOK, processNewBuoyData, receiveSourceNotification, relMillisecondsToSamples, relSamplesToMilliseconds, removeAllDataBlocks, removeAllMultiPlexDataBlocks, removeMultiPlexDataBlock, removeObservable, removeOutputDatablock, resetDataBlocks, saveViewerData, setCanMultiThread, setExternalProcess, setMultiplex, setParentDataBlock, setParentDataBlock, setProcessCheck, setProcessName, setSampleRate, toString, updateData
-
Constructor Details
-
SpectrogramNoiseProcess
-
-
Method Details
-
setupProcess
public void setupProcess()Description copied from class:PamProcess
called for every process once the systemmodel has been created. this is a good time to check out and find input data blocks and similar tasks.- Overrides:
setupProcess
in classPamProcess
-
newData
- Overrides:
newData
in classPamProcess
-
prepareProcess
public void prepareProcess()Description copied from class:PamProcess
Called for each process before any of them receive the PamStart command- Overrides:
prepareProcess
in classPamProcess
-
getNoiseSettings
-
setNoiseSettings
-
getMethods
-
setParentDataBlock
-
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
-
getAnnotation
Description copied from interface:ProcessAnnotator
Get an Annotation- Specified by:
getAnnotation
in interfaceProcessAnnotator
- Overrides:
getAnnotation
in classPamProcess
- Parameters:
pamDataBlock
- Annotated datablockannotation
- annotation number- Returns:
- Annotation
-
getNumAnnotations
- Specified by:
getNumAnnotations
in interfaceProcessAnnotator
- Overrides:
getNumAnnotations
in classPamProcess
- Parameters:
pamDataBlock
- Annotated datablock- Returns:
- the number of annotations
-
makeAnnotations
public void makeAnnotations() -
getOutputDataBlock
- Returns:
- the outputData
-
getOfflineData
- Overrides:
getOfflineData
in classPamProcess
-
getCompatibleDataUnits
Description copied from class:PamProcess
A list of data block class types which are compatible as parent data blocks for the PamProcess. This can return null, e.g. in the case of Acquisition process.- Overrides:
getCompatibleDataUnits
in classPamProcess
- Returns:
- a list of PamDataBlock sub class types which can be used as parent data blocks for the process.
-