Package dbht
Class DbHtParameters
java.lang.Object
dbht.DbHtParameters
- All Implemented Interfaces:
Serializable
,Cloneable
,ManagedParameters
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionint
Channel map for measurements.double
Gamma for Chebychev window.Data source nameint
log2 of the filter order (actual filter will probably be one less than this value).double[]
array of hearing threshold values.int
Measurement interval in seconds.static final long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
calculateFilterThings
(double sampleRate) clone()
double[]
getFilterFrequencies
(double sampleRate) double[]
getFilterGains
(double sampleRate) double[]
double
int
Get a set of data that describes all of the parameters in a classvoid
setFrequencyPoints
(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:ManagedParameters
Get a set of data that describes all of the parameters in a class- Specified by:
getParameterSet
in interfaceManagedParameters
- Returns:
- description of the parameters in a class.
-