Class SpectrumTemplateParams

java.lang.Object
clickTrainDetector.classification.templateClassifier.SpectrumTemplateParams
All Implemented Interfaces:
Serializable, Cloneable, ManagedParameters

public class SpectrumTemplateParams extends Object implements Serializable, Cloneable, ManagedParameters
Parameters class for the spectrum template. This is used because a PamDataUnit is not a good idea to clone and serialise. Only used for saving, not used throughout program.
Author:
Jamie Macaulay
See Also:
  • Field Details

    • sampleRate

      public float sampleRate
      The sample rate in Hz
    • template

      public double[] template
      The spectrum template data.
    • name

      public String name
      The name of the template.
  • Constructor Details

    • SpectrumTemplateParams

      public SpectrumTemplateParams(String name, double[] template, float sR)
  • Method Details