Package Array

Class SnapshotGeometry

java.lang.Object
Array.SnapshotGeometry

public class SnapshotGeometry extends Object
Holder of array geometry for a group of data units and an instant in time. This class has primarily been developed to support the group 3D localiser functions.
Author:
dg50
  • Constructor Details Link icon

    • SnapshotGeometry Link icon

      public SnapshotGeometry(PamArray currentArray, long timeMilliseconds, int[] streamerList, int[] hydrophoneList, GpsData referenceGPS, PamVector geometricCentre, PamVector[] geometry, PamVector[] streamerErrors, PamVector[] hydrophoneErrors)
      Parameters:
      currentArray - Hydrophone array
      timeMilliseconds - time this snap shot was created
      hydrophoneList - list of hydrophones
      referenceGPS - reference position and orientation
      geometricCentre - geometric centre (average values of geometry)
      geometry - array geometry in metres relative to referenceGPS.
      channelList - list of data channels
  • Method Details Link icon

    • getShape Link icon

      public int getShape()
    • getAbsPhoneLatLong Link icon

      public LatLong getAbsPhoneLatLong(int iPhone)
      Get the abs position of a specified hydrophone.
      Parameters:
      iPhone -
      Returns:
    • getArrayAxes Link icon

      public PamVector[] getArrayAxes()
      Get the array axes. For a linear array this is a single vector.
      Returns:
    • getArrayAngles Link icon

      public double[] getArrayAngles()
      Get the array axes as two angles, clockwise from North and elevation.
      Returns:
      array angles (1 element vector)
    • getTimeMilliseconds Link icon

      public long getTimeMilliseconds()
      Returns:
      the timeMilliseconds
    • setTimeMilliseconds Link icon

      public void setTimeMilliseconds(long timeMilliseconds)
      Parameters:
      timeMilliseconds - the timeMilliseconds to set
    • getReferenceGPS Link icon

      public GpsData getReferenceGPS()
      Returns:
      the referenceGPS
    • setReferenceGPS Link icon

      public void setReferenceGPS(GpsData referenceGPS)
      Parameters:
      referenceGPS - the referenceGPS to set
    • getCentreGPS Link icon

      public GpsData getCentreGPS()
      Get the central GPS position for used hydrophones.
      Returns:
      central position of used hydrophones.
    • getGeometry Link icon

      public PamVector[] getGeometry()
      Returns:
      the geometry in metres relative to the referenceGPS
    • getMaxSeparation Link icon

      public double getMaxSeparation()
      Get the maximum separation between any two hydrophones.
      Returns:
      max separation between any pair of hydrophones
    • getPairDistance Link icon

      public double getPairDistance(int h1, int h2)
      Get the distance between a hydrophone pair.
      Parameters:
      h1 -
      h2 -
      Returns:
    • setGeometry Link icon

      public void setGeometry(PamVector[] geometry)
      Parameters:
      geometry - the geometry in metres relative to the referenceGPS
    • getHydrophoneList Link icon

      public int[] getHydrophoneList()
      Returns:
      the hydrophoneList
    • setHydrophoneList Link icon

      public void setHydrophoneList(int[] hydrophoneList)
      Parameters:
      hydrophoneList - the hydrophoneList to set
    • getGeometricCentre Link icon

      public PamVector getGeometricCentre()
      Returns:
      the geometricCentre
    • getCurrentArray Link icon

      public PamArray getCurrentArray()
      Returns:
      the currentArray
    • getStreamerList Link icon

      public int[] getStreamerList()
      Returns:
      the streamerList
    • getStreamerErrors Link icon

      public PamVector[] getStreamerErrors()
      Returns:
      the streamerErrors
    • getHydrophoneErrors Link icon

      public PamVector[] getHydrophoneErrors()
      Returns:
      the hydrophoneErrors