Package decimator
Class DecimatorProcess
java.lang.Object
PamguardMVC.PamProcess
decimator.DecimatorProcess
- All Implemented Interfaces:
 PamObserver,ProcessAnnotator
Deprecated.
Decimates data - i.e. reduces it's frequency by 
 first of all digitally filtering, then downsampling
- Author:
 - Doug Gillespie
Deprecated April 2019. Replaced with DecimatorProcessW which uses the DecimatorWorker class which is much better at upsampling.
 
- 
Field Summary
Fields inherited from class PamguardMVC.PamProcess
outputDataBlocks, parentDataBlock, processName, sampleRate - 
Method Summary
Modifier and TypeMethodDescriptionDeprecated.A list of data block class types which are compatible as parent data blocks for the PamProcess.intgetOfflineData(OfflineDataLoadInfo offlineLoadDataInfo) Deprecated.Deprecated.longDeprecated.voidmasterClockUpdate(long milliSeconds, long sampleNumber) Deprecated.voidnewData(PamObservable obs, PamDataUnit newData) Deprecated.voidDeprecated.voidpamStart()Deprecated.Called for each process to tell it to start (may not be necessary for processes which are listening for data anyway).voidpamStop()Deprecated.Stops the process.voidDeprecated.Called for each process before any of them receive the PamStart commandvoidsetSampleRate(float sampleRate, boolean notify) Deprecated.New sample ratevoidDeprecated.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, getAnnotation, getChainPosition, getCpuPercent, getFrequencyRange, getLastSourceNotificationObject, getLastSourceNotificationType, getMuiltiplexDataBlock, getNumAnnotations, getNumMuiltiplexDataBlocks, getNumOutputDataBlocks, getObserverName, getObserverObject, getOfflineData, getOutputDataBlock, getOutputDataBlocks, getPamControlledUnit, getParentDataBlock, getParentDataBlocks, getParentProcess, getProcessCheck, getProcessName, getRawSourceDataBlock, getRawSourceDataBlock, getSampleRate, getSourceDataBlock, getSourceProcess, hasOutputDatablock, isCanMultiThread, isExternalProcess, isMultiplex, makePamProcess, noteNewSettings, notifyModelChanged, prepareProcessOK, processNewBuoyData, receiveSourceNotification, relMillisecondsToSamples, relSamplesToMilliseconds, removeAllDataBlocks, removeAllMultiPlexDataBlocks, removeMultiPlexDataBlock, removeObservable, removeOutputDatablock, resetDataBlocks, saveViewerData, setCanMultiThread, setExternalProcess, setMultiplex, setParentDataBlock, setParentDataBlock, setProcessCheck, setProcessName, toString, updateData 
- 
Method Details
- 
setupProcess
public void setupProcess()Deprecated.Description copied from class:PamProcesscalled 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:
 setupProcessin classPamProcess
 - 
getRequiredDataHistory
Deprecated.- Specified by:
 getRequiredDataHistoryin interfacePamObserver- Overrides:
 getRequiredDataHistoryin classPamProcess- Parameters:
 arg- optional argument from PamObservable- Returns:
 - time in milliseconds required by data held in PamObservable
 
 - 
setSampleRate
public void setSampleRate(float sampleRate, boolean notify) Deprecated.Description copied from interface:PamObserverNew sample rate- Specified by:
 setSampleRatein interfacePamObserver- Overrides:
 setSampleRatein classPamProcess- Parameters:
 sampleRate-notify- Notify other PamObservers and PamObservables in the chain.
 - 
masterClockUpdate
public void masterClockUpdate(long milliSeconds, long sampleNumber) Deprecated.- Specified by:
 masterClockUpdatein interfacePamObserver- Overrides:
 masterClockUpdatein classPamProcess
 - 
newSettings
public void newSettings()Deprecated. - 
getOutputDataBlock
Deprecated.- Returns:
 - the outputDataBlock
 
 - 
pamStart
public void pamStart()Deprecated.Description copied from class:PamProcessCalled for each process to tell it to start (may not be necessary for processes which are listening for data anyway).- Specified by:
 pamStartin classPamProcess
 - 
pamStop
public void pamStop()Deprecated.Description copied from class:PamProcessStops the process.- Specified by:
 pamStopin classPamProcess
 - 
newData
Deprecated.- Overrides:
 newDatain classPamProcess
 - 
prepareProcess
public void prepareProcess()Deprecated.Description copied from class:PamProcessCalled for each process before any of them receive the PamStart command- Overrides:
 prepareProcessin classPamProcess
 - 
getOfflineData
Deprecated.- Overrides:
 getOfflineDatain classPamProcess
 - 
getCompatibleDataUnits
Deprecated.Description copied from class:PamProcessA 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:
 getCompatibleDataUnitsin classPamProcess- Returns:
 - a list of PamDataBlock sub class types which can be used as parent data blocks for the process.
 
 
 -