Class DLLocalisation

java.lang.Object
PamDetection.AbstractLocalisation
rawDeepLearningClassifier.dlClassification.DLLocalisation

public class DLLocalisation extends AbstractLocalisation
The localisation for a DL data unit.
Author:
Jamie Macaulay
  • Constructor Details

    • DLLocalisation

      public DLLocalisation(PamDataUnit pamDataUnit, int locContents, int referenceHydrophones)
  • Method Details

    • setBearing

      public void setBearing(BearingAnnotation bearingAnnotation)
    • getAngles

      public double[] getAngles()
      Overrides:
      getAngles in class AbstractLocalisation
      Returns:
      Angles to detection in radians. The number of angles will be 0, 1 or 2.

      ***************** CHANGES FROM AUGUST 2017 *******************
      Now oriented the 'globe' differently, so that the first angle can be between -Pi and +Pi or between 0 and 2Pi. The second angle is the elevation angle which is either up (+ve angles) or down (-ve angles) having a range of -Pi/2 to +Pi/2. This change will only affect data from volumetric arrays when the animal is at significant depth. Changes are being made to data from click and whistle detectors which used the older system to maintain compatibility.

      For a point array, null should be returned.

      For a line array a single angle is returned which is the angle relative to the first orientation vector with 0 being in line with the orientation vector (can be thought of as colatitude).

      For a planar or volumetric array, two angles should be returned, the first being the colongitude, the second being the latitude. Imagine a globe, with North vertical and 0 longitude pointing along the main axis of the array geometry.