Package bearinglocaliser
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 Summary
Modifier and TypeFieldDescriptionboolean
Say to make additional data units and beam form ALL channel groups.static final long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAlgorithmName
(String algoName) void
getAlgorithmName
(int i) 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 mapint
Return the channel bitmap selected from the Source Pane.int[]
int
int
Get a set of data that describes all of the parameters in a classint
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 mapvoid
setDataSource
(String longDataName) void
setFftHop
(int fftHop) void
setFftLength
(int fftLength) void
setRawOrFFTSourceParameters
(GroupedSourceParameters rawOrFFTSourceParameters) void
setSourceName
(String sourceName) void
setWindowFunction
(int windowFunction)
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
detectionSource
-
doAllGroups
public boolean doAllGroupsSay 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 groupgroupChanMap
- the channel map of the groupalgorithmName
- 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 namegroupId
- channel group numbergroupChanMap
- channel map of the groupalgorithmParams
- algorithm parameters.
-
getDataSource
-
setDataSource
-
getRawOrFFTSourceParameters
- Returns:
- the rawOrFFTSourceParameters
-
setRawOrFFTSourceParameters
- 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
-
addAlgorithmName
-
clearAlgorithmNames
public void clearAlgorithmNames() -
getSourceName
- Specified by:
getSourceName
in interfaceRawOrFFTParamsInterface
- Returns:
- the sourceName
-
setSourceName
- Specified by:
setSourceName
in interfaceRawOrFFTParamsInterface
- Parameters:
sourceName
- the sourceName to set
-
getFftLength
public int getFftLength()- Specified by:
getFftLength
in interfaceRawOrFFTParamsInterface
- Returns:
- the fftLength
-
setFftLength
public void setFftLength(int fftLength) - Specified by:
setFftLength
in interfaceRawOrFFTParamsInterface
- Parameters:
fftLength
- the fftLength to set
-
getFftHop
public int getFftHop()- Specified by:
getFftHop
in interfaceRawOrFFTParamsInterface
- Returns:
- the fftHop
-
setFftHop
public void setFftHop(int fftHop) - Specified by:
setFftHop
in interfaceRawOrFFTParamsInterface
- Parameters:
fftHop
- the fftHop to set
-
getWindowFunction
public int getWindowFunction()- Specified by:
getWindowFunction
in interfaceRawOrFFTParamsInterface
- Returns:
- the windowFunction
-
setWindowFunction
public void setWindowFunction(int windowFunction) - Specified by:
setWindowFunction
in interfaceRawOrFFTParamsInterface
- Parameters:
windowFunction
- the windowFunction 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.
-