Package loc3d_Thode
Class TowedArray3DLocalization
java.lang.Object
PamDetection.AbstractLocalisation
loc3d_Thode.TowedArray3DLocalization
- Author:
- Aaron Thode
-
Constructor Summary
ConstructorDescriptionTowedArray3DLocalization
(TowedArray3DDataUnit towedArray3DDataUnit, int locContents, int referenceHydrophones) -
Method Summary
Modifier and TypeMethodDescriptionboolean
double
getBearing
(int iBearing) Get the bearing in radians, relative to the bearing referencedouble
Get the reference bearing in radians.double
getDepth()
double
getHeading
(int iHeading) double
getHeight
(int iSide) Get height of the detection in meters.getLatLong
(int iSide) Return the latlong for a location.double
getRange
(int iRange) Get the range for a specific side (where ambiguity exists)int
double
getTilt
(int iTilt) Methods inherited from class PamDetection.AbstractLocalisation
addLocContents, getAmbiguityCount, getAngleErrors, getAngles, getArrayOrientationVectors, getBearing, getBearingError, getErrorDirection, getHeightError, getLocError, getNumLatLong, getOriginLatLong, getParallelError, getPerpendiculaError, getPlanarAngles, getPlanarVector, getRangeError, getRealWorldVectors, getSubArrayType, getTimeDelayChIndex, getTimeDelayErrors, getTimeDelays, getWorldVectors, hasLocContent, removeLocContents, setArrayAxis, setLocContents, setParentDetection, setReferenceHydrophones, setSubArrayType, toString
-
Constructor Details
-
TowedArray3DLocalization
public TowedArray3DLocalization(TowedArray3DDataUnit towedArray3DDataUnit, int locContents, int referenceHydrophones)
-
-
Method Details
-
bearingAmbiguity
public boolean bearingAmbiguity()- Overrides:
bearingAmbiguity
in classAbstractLocalisation
- Returns:
- true if the bearing is subject to a left right (or rotational) ambiguity about the reference bearing.
-
getBearing
public double getBearing(int iBearing) Description copied from class:AbstractLocalisation
Get the bearing in radians, relative to the bearing reference- Overrides:
getBearing
in classAbstractLocalisation
- Parameters:
iBearing
- which side is the bearing on- Returns:
- bearing in radians
- See Also:
-
getTilt
public double getTilt(int iTilt) -
getHeading
public double getHeading(int iHeading) -
getBearingReference
public double getBearingReference()Description copied from class:AbstractLocalisation
Get the reference bearing in radians. This is relative to North, moving in a clockwise direction as would other bearings.
now that the general code for localisation using vectors has been sorted out so that the getWorldVectors now returns vectors which are correct in the general xyz frame of the array geometry, all that is actually needed here now is the array heading at the time of the event, while in previous versions, this required the actual bearing between two hydrophones (which was the same as the array heading for linear arrays which is why it all worked).- Overrides:
getBearingReference
in classAbstractLocalisation
- Returns:
- Reference bearing in radians.
-
getLatLong
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
-
getDepth
public double getDepth()- Overrides:
getDepth
in classAbstractLocalisation
-
getHeight
public double getHeight(int iSide) Description copied from class:AbstractLocalisation
Get height of the detection in meters. Depth is -height.- Overrides:
getHeight
in classAbstractLocalisation
- Returns:
- The height of the detection in meters.
-
getLocContents
- Overrides:
getLocContents
in classAbstractLocalisation
- Returns:
- a set of flags specifying which data are available within this localisation object.
-
getParentDetection
- Overrides:
getParentDetection
in classAbstractLocalisation
- Returns:
- Parent detection containing this localisation information
-
getRange
public double getRange(int iRange) Description copied from class:AbstractLocalisation
Get the range for a specific side (where ambiguity exists)- Overrides:
getRange
in classAbstractLocalisation
- Returns:
- range
-
getReferenceHydrophones
public int getReferenceHydrophones()- Overrides:
getReferenceHydrophones
in classAbstractLocalisation
- Returns:
- a bitmap of hydrophone numbers that form a reference position for this localisation
-