Package loc3d_Thode
Class TowedArray3DLocalization
java.lang.Object
PamDetection.AbstractLocalisation
loc3d_Thode.TowedArray3DLocalization
- Author:
 - Aaron Thode
 
- 
Constructor Summary
ConstructorsConstructorDescriptionTowedArray3DLocalization(TowedArray3DDataUnit towedArray3DDataUnit, int locContents, int referenceHydrophones)  - 
Method Summary
Modifier and TypeMethodDescriptionbooleandoublegetBearing(int iBearing) Get the bearing in radians, relative to the bearing referencedoubleGet the reference bearing in radians.doublegetDepth()doublegetHeading(int iHeading) doublegetHeight(int iSide) Get height of the detection in meters.getLatLong(int iSide) Return the latlong for a location.doublegetRange(int iRange) Get the range for a specific side (where ambiguity exists)intdoublegetTilt(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:
 bearingAmbiguityin 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:AbstractLocalisationGet the bearing in radians, relative to the bearing reference- Overrides:
 getBearingin 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:AbstractLocalisationGet 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:
 getBearingReferencein classAbstractLocalisation- Returns:
 - Reference bearing in radians.
 
 - 
getLatLong
Description copied from class:AbstractLocalisationReturn the latlong for a location. There may be more than one of them if there is side to side ambiguity.- Overrides:
 getLatLongin classAbstractLocalisation- Parameters:
 iSide- 0, 1, 2, etc.- Returns:
 - LatLong information
 
 - 
getDepth
public double getDepth()- Overrides:
 getDepthin classAbstractLocalisation
 - 
getHeight
public double getHeight(int iSide) Description copied from class:AbstractLocalisationGet height of the detection in meters. Depth is -height.- Overrides:
 getHeightin classAbstractLocalisation- Returns:
 - The height of the detection in meters.
 
 - 
getLocContents
- Overrides:
 getLocContentsin classAbstractLocalisation- Returns:
 - a set of flags specifying which data are available within this localisation object.
 
 - 
getParentDetection
- Overrides:
 getParentDetectionin classAbstractLocalisation- Returns:
 - Parent detection containing this localisation information
 
 - 
getRange
public double getRange(int iRange) Description copied from class:AbstractLocalisationGet the range for a specific side (where ambiguity exists)- Overrides:
 getRangein classAbstractLocalisation- Parameters:
 iRange-- Returns:
 - range
 
 - 
getReferenceHydrophones
public int getReferenceHydrophones()- Overrides:
 getReferenceHydrophonesin classAbstractLocalisation- Returns:
 - a bitmap of hydrophone numbers that form a reference position for this localisation
 
 
 -