Package loc3d_Thode

Class TowedArray3DLocalization

java.lang.Object
PamDetection.AbstractLocalisation
loc3d_Thode.TowedArray3DLocalization

public class TowedArray3DLocalization extends AbstractLocalisation
Author:
Aaron Thode
  • Constructor Details

    • TowedArray3DLocalization

      public TowedArray3DLocalization(TowedArray3DDataUnit towedArray3DDataUnit, int locContents, int referenceHydrophones)
  • Method Details

    • bearingAmbiguity

      public boolean bearingAmbiguity()
      Overrides:
      bearingAmbiguity in class AbstractLocalisation
      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 class AbstractLocalisation
      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 class AbstractLocalisation
      Returns:
      Reference bearing in radians.
    • getLatLong

      public LatLong getLatLong(int iSide)
      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 class AbstractLocalisation
      Parameters:
      iSide - 0, 1, 2, etc.
      Returns:
      LatLong information
    • getDepth

      public double getDepth()
      Overrides:
      getDepth in class AbstractLocalisation
    • getHeight

      public double getHeight(int iSide)
      Description copied from class: AbstractLocalisation
      Get height of the detection in meters. Depth is -height.
      Overrides:
      getHeight in class AbstractLocalisation
      Returns:
      The height of the detection in meters.
    • getLocContents

      public LocalisationInfo getLocContents()
      Overrides:
      getLocContents in class AbstractLocalisation
      Returns:
      a set of flags specifying which data are available within this localisation object.
    • getParentDetection

      public PamDataUnit getParentDetection()
      Overrides:
      getParentDetection in class AbstractLocalisation
      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 class AbstractLocalisation
      Returns:
      range
    • getReferenceHydrophones

      public int getReferenceHydrophones()
      Overrides:
      getReferenceHydrophones in class AbstractLocalisation
      Returns:
      a bitmap of hydrophone numbers that form a reference position for this localisation