Class WhistleLocalisation

java.lang.Object
PamDetection.AbstractLocalisation
whistleDetector.WhistleLocalisation

public class WhistleLocalisation extends AbstractLocalisation
  • Constructor Details

    • WhistleLocalisation

      public WhistleLocalisation(ShapeDataUnit shapeDataUnit, int referenceChannels)
  • Method Details

    • getDelay

      public int getDelay(int nDelay)
    • setDelay

      public void setDelay(int delay, int nDelay)
    • getShapeDataUnit

      public ShapeDataUnit getShapeDataUnit()
    • getBearing

      public double getBearing(int iSide)
      Description copied from class: AbstractLocalisation
      Get the bearing in radians, relative to the bearing reference
      Overrides:
      getBearing in class AbstractLocalisation
      Parameters:
      iSide - which side is the bearing on
      Returns:
      bearing in radians
      See Also:
    • calculateBearing

      public double calculateBearing()
    • 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.