Package clickDetector
Class TrackedClickLocaliser
java.lang.Object
PamguardMVC.PamProcess
clickDetector.TrackedClickLocaliser
- All Implemented Interfaces:
PamObserver
,ProcessAnnotator
Something similar to ClickTrainDetector, but working on the output of tracked clicks so that
accurate positions for groups of tracked clicks are calculated and can be displayed / stored.
The tracked click localiser is for clicks which have been manually annotated in real time. Doesn't do the localisation, just the data management of grouping clicks together.
- Author:
- Doug Gillespie
-
Constructor Summary
ConstructorDescriptionTrackedClickLocaliser
(ClickControl clickControl, PamDataBlock<PamDataUnit> pamDataBlock) -
Method Summary
Modifier and TypeMethodDescriptionboolean
localiseGroup
(GroupDetection detectionGroup) 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
removeClick
(ClickDetection click) Remove a click from a click train.void
trackClick
(ClickDetection click, int whaleId) Track a click.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, setParentDataBlock, setParentDataBlock, setProcessCheck, setProcessName, setSampleRate, setupProcess, toString, updateData
-
Constructor Details
-
TrackedClickLocaliser
-
-
Method Details
-
trackClick
Track a click.- Parameters:
click
-whaleId
-
-
newData
- Overrides:
newData
in classPamProcess
-
localiseGroup
-
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
-
removeClick
Remove a click from a click train.- Parameters:
removeClick
-
-