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 Link icon

    • WhistleFragmenter Link icon

      public WhistleFragmenter()
  • Method Details Link icon

    • getFragmentStarts Link icon

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

      public void setFragmentLength(int fragmentLength)
    • getFragmentLength Link icon

      public int getFragmentLength()
    • getFragments Link icon

      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