Package dbht
Class DbHtParameters
java.lang.Object
dbht.DbHtParameters
- All Implemented Interfaces:
Serializable,Cloneable,ManagedParameters
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionintChannel map for measurements.doubleGamma for Chebychev window.Data source nameintlog2 of the filter order (actual filter will probably be one less than this value).double[]array of hearing threshold values.intMeasurement interval in seconds.static final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcalculateFilterThings(double sampleRate) clone()double[]getFilterFrequencies(double sampleRate) double[]getFilterGains(double sampleRate) double[]doubleintGet a set of data that describes all of the parameters in a classvoidsetFrequencyPoints(double[] frequencyPoints)
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
dataSource
Data source name -
measurementInterval
public int measurementIntervalMeasurement interval in seconds. -
channelMap
public int channelMapChannel map for measurements. -
filterLogOrder
public int filterLogOrderlog2 of the filter order (actual filter will probably be one less than this value). -
chebyGamma
public double chebyGammaGamma for Chebychev window. -
hearingThreshold
public double[] hearingThresholdarray of hearing threshold values. Must be same length as frequencyPoints -
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
- Throws:
DbHtException
-
clone
-
getFrequencyPoints
public double[] getFrequencyPoints()- Returns:
- the frequencyPoints
-
setFrequencyPoints
public void setFrequencyPoints(double[] frequencyPoints) - Parameters:
frequencyPoints- the frequencyPoints to set
-
getParameterSet
Description copied from interface:ManagedParametersGet a set of data that describes all of the parameters in a class- Specified by:
getParameterSetin interfaceManagedParameters- Returns:
- description of the parameters in a class.
-