Class TrainingContour

java.lang.Object
whistleClassifier.training.TrainingContour
All Implemented Interfaces:
Serializable, ManagedParameters, WhistleContour

public class TrainingContour extends Object implements Serializable, WhistleContour, ManagedParameters
See Also:
  • Field Details

  • Constructor Details

    • TrainingContour

      public TrainingContour(double[] timeSeconds, double[] frequencyHz)
  • Method Details

    • getTimesInSeconds

      public double[] getTimesInSeconds()
      Specified by:
      getTimesInSeconds in interface WhistleContour
    • setTimesInSeconds

      public void setTimesInSeconds(double[] timeSeconds)
    • getFreqsHz

      public double[] getFreqsHz()
      Specified by:
      getFreqsHz in interface WhistleContour
    • setFreqsHz

      public void setFreqsHz(double[] frequencyHz)
    • getLength

      public int getLength()
      Get the length of the contour in time bins.
      Returns:
    • getParameterSet

      public PamParameterSet getParameterSet()
      Description copied from interface: ManagedParameters
      Get a set of data that describes all of the parameters in a class
      Specified by:
      getParameterSet in interface ManagedParameters
      Returns:
      description of the parameters in a class.