Class TargetMotionLocalisation
- Author:
- Doug Gillespie
-
Constructor Summary
ConstructorDescriptionTargetMotionLocalisation
(PamDataUnit pamDataUnit, GroupLocResult targetMotionResult) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionint
addTargetMotionResult
(GroupLocResult targetMotionResult) Deprecated.Add a target motion result and return the number of results now in the localisationboolean
Deprecated.double[]
Deprecated.getLatLong
(int iSide) Deprecated.Return the latlong for a location.Deprecated.double
getParallelError
(int iSide) Deprecated.Get the error parallel to the track line (in meters).double
getPerpendiculaError
(int iSide) Deprecated.Get the error perpendicular to the track line (in meters).double
getRange
(int iSide) Deprecated.Get the range for a specific side (where ambiguity exists)double
getRangeError
(int iSide) Deprecated.The error on the range.getTargetMotionResult
(int iSide) Deprecated.toString()
Deprecated.Methods inherited from class PamDetection.AbstractLocalisation
addLocContents, getAmbiguityCount, getAngleErrors, getArrayOrientationVectors, getBearing, getBearing, getBearingError, getBearingReference, getDepth, getErrorDirection, getHeight, getHeightError, getLocContents, getLocError, getNumLatLong, getParentDetection, getPlanarAngles, getPlanarVector, getRealWorldVectors, getReferenceHydrophones, getSubArrayType, getTimeDelayChIndex, getTimeDelayErrors, getTimeDelays, getWorldVectors, hasLocContent, removeLocContents, setArrayAxis, setLocContents, setParentDetection, setReferenceHydrophones, setSubArrayType
-
Constructor Details
-
TargetMotionLocalisation
Deprecated.
-
-
Method Details
-
getLatLong
Deprecated.Description copied from class:AbstractLocalisation
Return the latlong for a location. There may be more than one of them if there is side to side ambiguity.- Overrides:
getLatLong
in classAbstractLocalisation
- Parameters:
iSide
- 0, 1, 2, etc.- Returns:
- LatLong information
-
getPerpendiculaError
public double getPerpendiculaError(int iSide) Deprecated.Description copied from class:AbstractLocalisation
Get the error perpendicular to the track line (in meters). Perpendicular error can be two things. It can be the error perpendicular to a track line or it can be the y error from a static system- Overrides:
getPerpendiculaError
in classAbstractLocalisation
- Parameters:
iSide
- 0, 1, 2, etc.- Returns:
- the error in metres.
-
addTargetMotionResult
Deprecated.Add a target motion result and return the number of results now in the localisation- Parameters:
targetMotionResult
- New tm result- Returns:
- number of results in localisaion.
-
getTargetMotionResult
Deprecated.- Returns:
- the targetMotionResult
-
getOriginLatLong
Deprecated.- Overrides:
getOriginLatLong
in classAbstractLocalisation
- Returns:
- the latlong of the centre of the hydrophones associated with the channels used in this detection. If no channels are set, then it returns the GPS location for the time of the detection.
-
toString
Deprecated.- Overrides:
toString
in classAbstractLocalisation
-
getRange
public double getRange(int iSide) Deprecated.Description copied from class:AbstractLocalisation
Get the range for a specific side (where ambiguity exists)- Overrides:
getRange
in classAbstractLocalisation
- Returns:
- range
-
getAngles
public double[] getAngles()Deprecated.- Overrides:
getAngles
in classAbstractLocalisation
- Returns:
- Angles to detection in radians. The number of angles will be 0, 1 or 2.
***************** CHANGES FROM AUGUST 2017 *******************
Now oriented the 'globe' differently, so that the first angle can be between -Pi and +Pi or between 0 and 2Pi. The second angle is the elevation angle which is either up (+ve angles) or down (-ve angles) having a range of -Pi/2 to +Pi/2. This change will only affect data from volumetric arrays when the animal is at significant depth. Changes are being made to data from click and whistle detectors which used the older system to maintain compatibility.For a point array, null should be returned.
For a line array a single angle is returned which is the angle relative to the first orientation vector with 0 being in line with the orientation vector (can be thought of as colatitude).
For a planar or volumetric array, two angles should be returned, the first being the colongitude, the second being the latitude. Imagine a globe, with North vertical and 0 longitude pointing along the main axis of the array geometry.
-
bearingAmbiguity
public boolean bearingAmbiguity()Deprecated.- Overrides:
bearingAmbiguity
in classAbstractLocalisation
- Returns:
- true if the bearing is subject to a left right (or rotational) ambiguity about the reference bearing.
-
getRangeError
public double getRangeError(int iSide) Deprecated.Description copied from class:AbstractLocalisation
The error on the range. The range is A direct line from the origin to the localisation. It includes depth.- Overrides:
getRangeError
in classAbstractLocalisation
- Returns:
- The error on the range estimation in meters.
-
getParallelError
public double getParallelError(int iSide) Deprecated.Description copied from class:AbstractLocalisation
Get the error parallel to the track line (in meters). Parallel error can be two things. It can be the error parallel to a track line or it can be the x error from a static system- Overrides:
getParallelError
in classAbstractLocalisation
- Parameters:
iSide
- 0, 1, 2, etc.- Returns:
- the error in metres.
-