Package targetMotionOld
Class AbstractTimeDelayLocaliser<T extends PamDataUnit>
java.lang.Object
targetMotionOld.algorithms.AbstractTargetMotionModel<T>
targetMotionOld.AbstractTimeDelayLocaliser<T>
- Type Parameters:
T-
- All Implemented Interfaces:
LocaliserModel<T>,TargetMotionModel<T>
public abstract class AbstractTimeDelayLocaliser<T extends PamDataUnit>
extends AbstractTargetMotionModel<T>
Reinstated Target motion add-in as used by the click detector. Hope one day still to replace this
with Jamie's new one, but keep this one until Jamie's is working.
- Author:
- Doug Gillespie
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ArrayManagerprotected doubleprotected PamArrayprotected ArrayList<PamDataUnit> protected PamVector[]protected PamVector[]protected intprotected intprotected floatprotected double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidWe need to calculate the position of all hydrophones in a cartesian (x,y,z) co-ordinate system.protected voidprotected voidCalculate the time delays for each pamDetection.voidgetEventInfo(SuperDetection pamDetection) Get info for the event attached to the pamDetectionvoidsetEventRotator(SuperDetection pamDetection) Methods inherited from class targetMotionOld.algorithms.AbstractTargetMotionModel
getPlotSymbolMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Localiser.LocaliserModel
getAlgorithmSettingsPane, getLocContents, getName, getToolTipText, hasParams, notifyModelProgress, runModel
-
Field Details
-
currentDetections
-
detectionOrigins
-
detectionHeadings
-
eventRotator
-
nSubDetections
protected int nSubDetections -
arrayManager
-
currentArray
-
avHydrophoneDepth
protected double avHydrophoneDepth -
nChannels
protected int nChannels -
sampleRate
protected float sampleRate -
speedOfSound
protected double speedOfSound -
timeDelaysAll
-
timeDelayErrorsAll
-
hydrophonePos
-
-
Constructor Details
-
AbstractTimeDelayLocaliser
public AbstractTimeDelayLocaliser()
-
-
Method Details
-
getEventInfo
Get info for the event attached to the pamDetection- Parameters:
pamDetection-
-
setEventRotator
-
calculateTimeDelays
protected void calculateTimeDelays()Calculate the time delays for each pamDetection. -
calculateTimeDelayErrors
protected void calculateTimeDelayErrors() -
calcHydrophonePositions
protected void calcHydrophonePositions()We need to calculate the position of all hydrophones in a cartesian (x,y,z) co-ordinate system. To do this we need GPS Co-Ordinates, the heading of the array and dimensions of the array.
-