Package clickTrainDetector
Class CTClassificationProcess
java.lang.Object
PamguardMVC.PamProcess
PamguardMVC.PamInstantProcess
clickTrainDetector.CTClassificationProcess
- All Implemented Interfaces:
PamObserver
,ProcessAnnotator
Process which classifies click trains.
- Author:
- Jamie Macaulay
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the classified click train data block.void
newClickTrainData
(CTDataUnit dataUnit) Classify a new click train.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
updateData
(PamObservable o, PamDataUnit arg) Informs the PamObserver that existing data have been updatedMethods inherited from class PamguardMVC.PamInstantProcess
setParentDataBlock, setParentDataBlock
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, getProcessName, getRawSourceDataBlock, getRawSourceDataBlock, getRequiredDataHistory, 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, setProcessCheck, setProcessName, setSampleRate, setupProcess, toString
-
Constructor Details
-
CTClassificationProcess
-
-
Method Details
-
getClssfdClickTrainDataBlock
Get the classified click train data block. This holds click trains which have been classified to a species.- Returns:
- the classified click train datablock.
-
newData
- Overrides:
newData
in classPamProcess
-
updateData
Description copied from interface:PamObserver
Informs the PamObserver that existing data have been updated- Specified by:
updateData
in interfacePamObserver
- Overrides:
updateData
in classPamProcess
-
newClickTrainData
Classify a new click train.- Parameters:
dataUnit
- the data unit.
-
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
-