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 Details

    • serialVersionUID

      public static final long serialVersionUID
      See Also:
    • filterBearings

      public boolean filterBearings
      Filter data prior to bearing measurement
    • delayFilterParams

      public FFTFilterParams delayFilterParams
      Parameters for bearing filter
    • envelopeBearings

      public boolean envelopeBearings
      Measure bearings from the waveform envelope, not the full wavefrom.
    • useLeadingEdge

      public boolean useLeadingEdge
      When using envelope, just take the leading edge.
    • leadingEdgeSearchRegion

      public int[] leadingEdgeSearchRegion
    • useRestrictedBins

      public boolean useRestrictedBins
      Restrict the number of bins from sample 0 to use- helps with detection snippets that contain echoes
    • restrictedBins

      public int restrictedBins
      The number of restrcited bins to use.
  • Constructor Details

    • DelayMeasurementParams

      public DelayMeasurementParams()
  • Method Details

    • upSample

      public DelayMeasurementParams upSample(int upFactor)
    • clone

      public DelayMeasurementParams clone()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setFftFilterParams

      public void setFftFilterParams(FFTFilterParams newFiltParams)
    • getFftFilterParams

      public FFTFilterParams 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

      public PamParameterSet getParameterSet()
      Description copied from interface: ManagedParameters
      Get a set of data that describes all of the parameters in a class
      Specified by:
      getParameterSet in interface ManagedParameters
      Returns:
      description of the parameters in a class.