Class WhistleFragmenter

java.lang.Object
whistleClassifier.WhistleFragmenter
Direct Known Subclasses:
OverlappingFragmenter

public abstract class WhistleFragmenter extends Object
Break a whistle up into fragments.

Really all we need to know is the start of each fragment

Author:
Doug Gillespie
  • Constructor Details

    • WhistleFragmenter

      public WhistleFragmenter()
  • Method Details

    • getFragmentStarts

      public abstract int[] getFragmentStarts(int shapeLen)
    • setFragmentLength

      public void setFragmentLength(int fragmentLength)
    • getFragmentLength

      public int getFragmentLength()
    • getFragments

      public WhistleFragment[] getFragments(WhistleContour whistleContour)
      Create an array of whistle fragments from a whistle contour.
      Parameters:
      whistleContour - contour to extract fragments from .
      Returns:
      array of fragments