Package dbht

Class DbHtParameters

java.lang.Object
dbht.DbHtParameters
All Implemented Interfaces:
Serializable, Cloneable, ManagedParameters

public class DbHtParameters extends Object implements Serializable, Cloneable, ManagedParameters
See Also:
  • Field Details

    • serialVersionUID

      public static final long serialVersionUID
      See Also:
    • dataSource

      public String dataSource
      Data source name
    • measurementInterval

      public int measurementInterval
      Measurement interval in seconds.
    • channelMap

      public int channelMap
      Channel map for measurements.
    • filterLogOrder

      public int filterLogOrder
      log2 of the filter order (actual filter will probably be one less than this value).
    • chebyGamma

      public double chebyGamma
      Gamma for Chebychev window.
    • hearingThreshold

      public double[] hearingThreshold
      array of hearing threshold values. Must be same length as frequencyPoints
    • lastImportFile

      public File lastImportFile
  • Constructor Details

    • DbHtParameters

      public DbHtParameters()
  • Method Details

    • getNumHtPoints

      public int getNumHtPoints()
    • getFilterFrequencies

      public double[] getFilterFrequencies(double sampleRate)
    • getFilterGains

      public double[] getFilterGains(double sampleRate)
    • getLowestThreshold

      public double getLowestThreshold()
    • calculateFilterThings

      public int calculateFilterThings(double sampleRate) throws DbHtException
      Throws:
      DbHtException
    • clone

      public DbHtParameters clone()
    • getFrequencyPoints

      public double[] getFrequencyPoints()
      Returns:
      the frequencyPoints
    • setFrequencyPoints

      public void setFrequencyPoints(double[] frequencyPoints)
      Parameters:
      frequencyPoints - the frequencyPoints to set
    • 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.