Package likelihoodDetectionModule
Class GuardBand
java.lang.Object
likelihoodDetectionModule.GuardBand
- All Implemented Interfaces:
Serializable,ManagedParameters
Represents the parameters that make up a guard band, used as
input to the Likelihood detection algorithm. These are stored in
a TargetConfiguration object.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe identifier of the signal band that this guard band should be associated with.doubleThe background seconds.doubleThe end frequency hz.double[]The frequency's limits.The identifier of this guard band.double[]The seconds' limits.doubleThe signal seconds.doubleThe start frequency hz. -
Constructor Summary
ConstructorsConstructorDescriptionGuardBand(AcquisitionSettings acquisitionSettings, LikelihoodFFTParameters fftParams) Instantiates a new guard band. -
Method Summary
Modifier and TypeMethodDescriptionvoidcalibrate(AcquisitionSettings acquisitionSettings, LikelihoodFFTParameters fftParams) Calibrate the guard band with the audio source parameters (acquisition) and the FFT parameters.Get a set of data that describes all of the parameters in a classbooleanisError()Checks if is error.
-
Field Details
-
associatedSignalBandIdentifier
The identifier of the signal band that this guard band should be associated with. -
identifier
The identifier of this guard band. The configuration dialog should ensure that this value is unique for a TargetConfiguration -
startFrequencyHz
public double startFrequencyHzThe start frequency hz. -
endFrequencyHz
public double endFrequencyHzThe end frequency hz. -
backgroundSeconds
public double backgroundSecondsThe background seconds. -
signalSeconds
public double signalSecondsThe signal seconds. -
frequencyLimits
public double[] frequencyLimitsThe frequency's limits. -
secondsLimits
public double[] secondsLimitsThe seconds' limits.
-
-
Constructor Details
-
GuardBand
Instantiates a new guard band.- Parameters:
acquisitionSettings- the acquisition settingsfftParams- the fft params
-
-
Method Details
-
calibrate
Calibrate the guard band with the audio source parameters (acquisition) and the FFT parameters.- Parameters:
acquisitionSettings- the acquisition settingsfftParams- the fft params- See Also:
-
isError
public boolean isError()Checks if is error.- Returns:
- true, if is error
-
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.
-