Class WhistleLocaliser

java.lang.Object
whistleDetector.WhistleLocaliser

public class WhistleLocaliser extends Object
Author:
Doug Gillespie Utility functions to measure time delays for whistles and eventually to get localisations.
  • Constructor Details

    • WhistleLocaliser

      public WhistleLocaliser(WhistleControl whistleControl)
  • Method Details

    • getDelay

      public int getDelay(FFTDataBlock fftDataBlock, WhistleShape whistle, int whistleChannel, int bearingChannel)
      Calculates the delay between a whistle on one channel and another given channel number. Used the whistle contour width and the sweep to calculate only in a very narrow band so that overlapping whistles may simultaneously get bearings calculated.
      Parameters:
      whistle -
      Returns:
      a delay in bins or WHISTLE_NODELAY.