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
FieldsModifier and TypeFieldDescriptionbooleanSay to make additional data units and beam form ALL channel groups.static final long - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddAlgorithmName(String algoName) voidprotected BearingLocaliserParamsclone()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 mapintReturn the channel bitmap selected from the Source Pane.int[]intintGet a set of data that describes all of the parameters in a classintvoidsetAlgorithmParams(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 mapvoidsetDataSource(String longDataName) voidsetFftHop(int fftHop) voidsetFftLength(int fftLength) voidsetRawOrFFTSourceParameters(GroupedSourceParameters rawOrFFTSourceParameters) voidsetSourceName(String sourceName) voidsetWindowFunction(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
- 
clone
 - 
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:
 getSourceNamein interfaceRawOrFFTParamsInterface- Returns:
 - the sourceName
 
 - 
setSourceName
- Specified by:
 setSourceNamein interfaceRawOrFFTParamsInterface- Parameters:
 sourceName- the sourceName to set
 - 
getFftLength
public int getFftLength()- Specified by:
 getFftLengthin interfaceRawOrFFTParamsInterface- Returns:
 - the fftLength
 
 - 
setFftLength
public void setFftLength(int fftLength) - Specified by:
 setFftLengthin interfaceRawOrFFTParamsInterface- Parameters:
 fftLength- the fftLength to set
 - 
getFftHop
public int getFftHop()- Specified by:
 getFftHopin interfaceRawOrFFTParamsInterface- Returns:
 - the fftHop
 
 - 
setFftHop
public void setFftHop(int fftHop) - Specified by:
 setFftHopin interfaceRawOrFFTParamsInterface- Parameters:
 fftHop- the fftHop to set
 - 
getWindowFunction
public int getWindowFunction()- Specified by:
 getWindowFunctionin interfaceRawOrFFTParamsInterface- Returns:
 - the windowFunction
 
 - 
setWindowFunction
public void setWindowFunction(int windowFunction) - Specified by:
 setWindowFunctionin interfaceRawOrFFTParamsInterface- Parameters:
 windowFunction- the windowFunction to set
 - 
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.
 
 
 -