Package Localiser
Class DelayMeasurementParams
java.lang.Object
Localiser.DelayMeasurementParams
- All Implemented Interfaces:
Serializable
,Cloneable
,ManagedParameters
- Direct Known Subclasses:
TOADTimingParams
public class DelayMeasurementParams
extends Object
implements Serializable, Cloneable, ManagedParameters
Generic parameters associated with delay measurement.
- Author:
- Doug Gillespie
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionParameters for bearing filterboolean
Measure bearings from the waveform envelope, not the full wavefrom.boolean
Filter data prior to bearing measurementint[]
int
The number of restrcited bins to use.static final long
boolean
When using envelope, just take the leading edge.boolean
Restrict the number of bins from sample 0 to use- helps with detection snippets that contain echoes -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Get a set of data that describes all of the parameters in a classint
void
setFftFilterParams
(FFTFilterParams newFiltParams) void
setUpSample
(int upSample) Set the upsample in multiples of the current sample rate.toString()
upSample
(int upFactor)
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
filterBearings
public boolean filterBearingsFilter data prior to bearing measurement -
delayFilterParams
Parameters for bearing filter -
envelopeBearings
public boolean envelopeBearingsMeasure bearings from the waveform envelope, not the full wavefrom. -
useLeadingEdge
public boolean useLeadingEdgeWhen using envelope, just take the leading edge. -
leadingEdgeSearchRegion
public int[] leadingEdgeSearchRegion -
useRestrictedBins
public boolean useRestrictedBinsRestrict the number of bins from sample 0 to use- helps with detection snippets that contain echoes -
restrictedBins
public int restrictedBinsThe number of restrcited bins to use.
-
-
Constructor Details
-
DelayMeasurementParams
public DelayMeasurementParams()
-
-
Method Details
-
upSample
-
clone
-
toString
-
setFftFilterParams
-
getFftFilterParams
-
getUpSample
public int getUpSample()- Returns:
- the upSample. Never invalid input: '<' 1
-
setUpSample
public void setUpSample(int upSample) Set the upsample in multiples of the current sample rate. So 3 is ends up with a waveform sampled at 3 times the the sample rate.- Parameters:
upSample
- the upSample 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.
-