Class BearingLocaliserParams

java.lang.Object
bearinglocaliser.BearingLocaliserParams
All Implemented Interfaces:
Serializable, Cloneable, RawOrFFTParamsInterface, ManagedParameters

public class BearingLocaliserParams extends Object implements Serializable, Cloneable, RawOrFFTParamsInterface, ManagedParameters
See Also:
  • Field Details

    • serialVersionUID

      public static final long serialVersionUID
      See Also:
    • detectionSource

      public String detectionSource
    • doAllGroups

      public boolean doAllGroups
      Say to make additional data units and beam form ALL channel groups.
  • Constructor Details

    • BearingLocaliserParams

      public BearingLocaliserParams()
  • Method Details

    • getAlgorithmParms

      public BearingAlgorithmParams getAlgorithmParms(int groupId, int groupChanMap, String algorithmName)
      Get a set of algorithm parameters for an algorithm of a specific name, a specific channel group and a specific channel map
      Parameters:
      groupId - channel group
      groupChanMap - the channel map of the group
      algorithmName - algorithm name
      Returns:
      algorithm params, or null
    • setAlgorithmParams

      public void setAlgorithmParams(String algorithmName, int groupId, int groupChanMap, BearingAlgorithmParams algorithmParams)
      Save a set of algorithm parameters for an algorithm of a specific name, a specific channel group and a specific channel map
      Parameters:
      algorithmName - algorithm name
      groupId - channel group number
      groupChanMap - channel map of the group
      algorithmParams - algorithm parameters.
    • getDataSource

      public String getDataSource()
    • setDataSource

      public void setDataSource(String longDataName)
    • getRawOrFFTSourceParameters

      public GroupedSourceParameters getRawOrFFTSourceParameters()
      Returns:
      the rawOrFFTSourceParameters
    • setRawOrFFTSourceParameters

      public void setRawOrFFTSourceParameters(GroupedSourceParameters rawOrFFTSourceParameters)
      Parameters:
      rawOrFFTSourceParameters - the rawOrFFTSourceParameters to set
    • getChannelBitmap

      public int getChannelBitmap()
      Return the channel bitmap selected from the Source Pane. Note that this may actually be the sequence bitmap and not the channel bitmap, depending on the source that has been selected
      Returns:
      the channelBitmap or sequenceBitmap
    • getChannelGroups

      public int[] getChannelGroups()
    • getAlgorithmName

      public String getAlgorithmName(int i)
    • addAlgorithmName

      public void addAlgorithmName(String algoName)
    • clearAlgorithmNames

      public void clearAlgorithmNames()
    • getSourceName

      public String getSourceName()
      Specified by:
      getSourceName in interface RawOrFFTParamsInterface
      Returns:
      the sourceName
    • setSourceName

      public void setSourceName(String sourceName)
      Specified by:
      setSourceName in interface RawOrFFTParamsInterface
      Parameters:
      sourceName - the sourceName to set
    • getFftLength

      public int getFftLength()
      Specified by:
      getFftLength in interface RawOrFFTParamsInterface
      Returns:
      the fftLength
    • setFftLength

      public void setFftLength(int fftLength)
      Specified by:
      setFftLength in interface RawOrFFTParamsInterface
      Parameters:
      fftLength - the fftLength to set
    • getFftHop

      public int getFftHop()
      Specified by:
      getFftHop in interface RawOrFFTParamsInterface
      Returns:
      the fftHop
    • setFftHop

      public void setFftHop(int fftHop)
      Specified by:
      setFftHop in interface RawOrFFTParamsInterface
      Parameters:
      fftHop - the fftHop to set
    • getWindowFunction

      public int getWindowFunction()
      Specified by:
      getWindowFunction in interface RawOrFFTParamsInterface
      Returns:
      the windowFunction
    • setWindowFunction

      public void setWindowFunction(int windowFunction)
      Specified by:
      setWindowFunction in interface RawOrFFTParamsInterface
      Parameters:
      windowFunction - the windowFunction 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.