Class WhistleDelays

java.lang.Object
whistlesAndMoans.WhistleDelays

public class WhistleDelays extends Object
Class for estimating whistle delays from a whistle shape.
to save processing, one of these should be created for each channel group so that multiple delay measures can be pre prepared and populated simultaneously - i.e. each bit of FFT data will need to go into one measure as it, but into the next as it's complex conjugate.
Doing everything at once should save data access times.
Author:
Doug Gillespie
  • Constructor Details

    • WhistleDelays

      public WhistleDelays(WhistleMoanControl whistleMoanControl, int channelMap)
  • Method Details

    • prepareBearings

      public void prepareBearings()
    • getDelays

      public double[] getDelays(ConnectedRegion region)
      Gets the delays for a connected region. nChan(nChan-1)/2 delays will be returned. Delays are channels 0-1, 0-2, 1-2, etc.
      Parameters:
      region - connected region
      channelBitMap - channel bitmap
      Returns:
      array of delays from cross correlation in samples.