Package Array

Class Hydrophone

java.lang.Object
Array.Hydrophone
All Implemented Interfaces:
Serializable, Cloneable, ManagedParameters

public class Hydrophone extends Object implements Serializable, Cloneable, ManagedParameters
Author:
Doug Gillespie Contains information on a single hydrophone Significant changes are being made to Hydrophone and Array management in August 2012 to deal with a wider variety of array types and array localisation systems.

all functions in this class have now been made protected thereby restricting direct access to individual hydrophone information to the PamArray class. The PamArray class will now work with it's array localiser to give hydrophone information - which will only be accessible through functions using a timestamp reference.

See Also:
  • Field Details Link icon

  • Constructor Details Link icon

    • Hydrophone Link icon

      public Hydrophone(int id)
    • Hydrophone Link icon

      public Hydrophone(int id, double x, double y, double z, String type, double sensitivity, double[] bandwidth, double preampGain)
    • Hydrophone Link icon

      public Hydrophone(int id, double x, double y, double z, double xErr, double yErr, double zErr, String type, double sensitivity, double[] bandwidth, double preampGain)
  • Method Details Link icon

    • getBandwidth Link icon

      public double[] getBandwidth()
    • getSensitivity Link icon

      public double getSensitivity()
    • setSensitivity Link icon

      public void setSensitivity(double sensitivity)
    • getCoordinateError Link icon

      public double getCoordinateError(int iCoordinate)
      Get the error on one of the three coordinates.
      Parameters:
      iCoordinate - coordinate (x = 0; y = 1; z = 2)
      Returns:
      error in metres.
    • getdX Link icon

      public double getdX()
      Returns:
      error on the hydrophone x coordinate.
    • setdX Link icon

      public void setdX(double error)
      Set the error on the hydrophone x coordinate
      Parameters:
      error - error in metres.
    • getdY Link icon

      public double getdY()
      Returns:
      error on the hydrophone y coordinate.
    • setdY Link icon

      public void setdY(double error)
      Set the error on the hydrophone y coordinate
      Parameters:
      error - error in metres.
    • getdZ Link icon

      public double getdZ()
      Returns:
      error on the hydrophone depth coordinate.
    • setdZ Link icon

      public void setdZ(double error)
      Set the error on the hydrophone z coordinate
      Parameters:
      error - error in metres.
    • getX Link icon

      public double getX()
    • setX Link icon

      public void setX(double x)
    • getY Link icon

      public double getY()
    • setY Link icon

      public void setY(double y)
    • getZ Link icon

      public double getZ()
    • setZ Link icon

      public void setZ(double z)
    • getType Link icon

      public String getType()
    • getCoordinates Link icon

      public double[] getCoordinates()
      Returns:
      Returns the coordinate.
    • getHiddenCoordinates Link icon

      public double[] getHiddenCoordinates()
      Do not use this function except in hydrphone locators in order to get nominal information. this will be removed after debug of new system !
      Returns:
    • getPreampGain Link icon

      public double getPreampGain()
      Returns:
      Returns the preampGain.
    • setPreampGain Link icon

      public void setPreampGain(double preampGain)
      Parameters:
      preampGain - The preampGain to set.
    • getID Link icon

      public int getID()
      Returns:
      Returns the iD.
    • setID Link icon

      public void setID(int id)
      Parameters:
      id - The iD to set.
    • getStreamerId Link icon

      public int getStreamerId()
    • setStreamerId Link icon

      public void setStreamerId(int streamerId)
    • getTimeMillis Link icon

      public long getTimeMillis()
    • setTimeMillis Link icon

      public void setTimeMillis(long timeMillis)
    • weightedAverage Link icon

      public static Hydrophone weightedAverage(Hydrophone h1, Hydrophone h2, double w1, double w2)
      the weighted average of two hydrophones.
      Parameters:
      h1 -
      h2 -
      w1 -
      w2 -
      Returns:
    • getParameterSet Link icon

      public PamParameterSet getParameterSet()
      Description copied from interface: ManagedParameters
      Get a set of data that describes all of the parameters in a class
      Specified by:
      getParameterSet in interface ManagedParameters
      Returns:
      description of the parameters in a class.