Class ArrayAccelDataUnit

java.lang.Object
PamguardMVC.PamDataUnit
ArrayAccelerometer.ArrayAccelDataUnit
All Implemented Interfaces:
ArraySensorDataUnit, Comparable

public class ArrayAccelDataUnit extends PamDataUnit implements ArraySensorDataUnit
  • Constructor Details

  • Method Details

    • getVoltsRead

      public Double[] getVoltsRead()
      Returns:
      the voltsRead
    • getAcceleration

      public Double[] getAcceleration()
      Returns:
      the acceleration
    • getAcceleration

      public Double getAcceleration(int dim)
      Parameters:
      dim - dimension, 0, 1 or 2.
      Returns:
      the acceleration for a given dimension
    • getRoll

      public Double getRoll()
      Returns:
      the roll in degrees.
    • getPitch

      public Double getPitch()
      return the pitch in degrees.
      Returns:
      pitch in degrees.
    • getField

      public Double getField(int streamer, ArraySensorFieldType fieldType)
      Description copied from interface: ArraySensorDataUnit
      Get a value for a specified field for a specified streamer.
      Specified by:
      getField in interface ArraySensorDataUnit
      Parameters:
      streamer - streamer index
      fieldType - Depth, heading, pitch or roll.
      Returns:
      Value in metres or degrees (not radians)