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 ArrayManager
protected double
protected PamArray
protected ArrayList
<PamDataUnit> protected PamVector[]
protected PamVector[]
protected int
protected int
protected float
protected double
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
We need to calculate the position of all hydrophones in a cartesian (x,y,z) co-ordinate system.protected void
protected void
Calculate the time delays for each pamDetection.void
getEventInfo
(SuperDetection pamDetection) Get info for the event attached to the pamDetectionvoid
setEventRotator
(SuperDetection pamDetection) Methods inherited from class targetMotionOld.algorithms.AbstractTargetMotionModel
getPlotSymbol
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
-
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.
-