Package likelihoodDetectionModule
Class LikelihoodFFTParameters
java.lang.Object
likelihoodDetectionModule.LikelihoodFFTParameters
- All Implemented Interfaces:
Serializable
,ManagedParameters
The LikelihoodFFTParameters class represents Likelihood Detector-specific FFT
parameters and calculations that support the auto-creation of processing streams
for the target configurations. It takes in a combination of user-suggested parameters
and source data information and generates actual FFT parameters from them.
- See Also:
-
Constructor Summary
ConstructorDescriptionLikelihoodFFTParameters
(AcquisitionSettings acquisitionSettings, int channelMap, double requestedFrequencyResolution, double requestedTimeResolution) Instantiates a new likelihood fft parameters. -
Method Summary
Modifier and TypeMethodDescriptionboolean
double
Gets the actual frequency resolution.double
Gets the actual time resolution.int
Gets the channel map.int
Gets the data source number.int
Gets the fFT hop.int
Gets the fFT size.int
Gets the number averages.double
Gets the overlap.Gets the pam fft parameters.Get a set of data that describes all of the parameters in a classint
-
Constructor Details
-
LikelihoodFFTParameters
public LikelihoodFFTParameters(AcquisitionSettings acquisitionSettings, int channelMap, double requestedFrequencyResolution, double requestedTimeResolution) Instantiates a new likelihood fft parameters.- Parameters:
acquisitionSettings
- The acquisition settings obtained from the audio data source.channelMap
- The channel map requested.requestedFrequencyResolution
- The requested frequency resolution.requestedTimeResolution
- The requested time resolution.
-
-
Method Details
-
equals
-
getOverlap
public double getOverlap()Gets the overlap.- Returns:
- the overlap
-
getFFTSize
public int getFFTSize()Gets the fFT size.- Returns:
- the fFT size
-
getFFTHop
public int getFFTHop()Gets the fFT hop.- Returns:
- the fFT hop
-
getdataSourceNumber
public int getdataSourceNumber()Gets the data source number.- Returns:
- the data source number
-
getChannelMap
public int getChannelMap()Gets the channel map.- Returns:
- the channel map
-
getSourceId
public int getSourceId() -
getActualFrequencyResolution
public double getActualFrequencyResolution()Gets the actual frequency resolution.- Returns:
- the actual frequency resolution
-
getActualTimeResolution
public double getActualTimeResolution()Gets the actual time resolution.- Returns:
- the actual time resolution
-
getNumberAverages
public int getNumberAverages()Gets the number averages.- Returns:
- the number averages
-
getPamFFTParameters
Gets the pam fft parameters.- Returns:
- the pam fft parameters
-
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.
-