Class BasicFreqDomBeamProvider
java.lang.Object
beamformer.algorithms.basicFreqDomain.BasicFreqDomBeamProvider
- All Implemented Interfaces:
BeamAlgorithmProvider
- Author:
- mo55
-
Constructor Summary
ConstructorDescriptionBasicFreqDomBeamProvider
(BeamFormerBaseControl beamFormerControl) Main Constructor -
Method Summary
Modifier and TypeMethodDescriptioncreateNewParams
(String algorithmName, int groupNumber, int channelMap) Create an instance of the algorithm parametersRetrieve the current set of parameters.SettingsPane<?>
getParamsDialog
(BeamFormerParams overallParams, BeamAlgorithmParams algoParams) Return the algorithm-specific parameters dialog, populated with the parameters passedGet fixed properties such as the algorithm name and whether it can output a beamogrammakeAlgorithm
(BeamFormerBaseProcess beamFormerProcess, BeamAlgorithmParams parameters, int firstSeqNum, int beamogramNum) Create an instance of the algorithm for a set of channels.
-
Constructor Details
-
BasicFreqDomBeamProvider
Main Constructor- Parameters:
beamFormerControl
-
-
-
Method Details
-
getStaticProperties
Description copied from interface:BeamAlgorithmProvider
Get fixed properties such as the algorithm name and whether it can output a beamogram- Specified by:
getStaticProperties
in interfaceBeamAlgorithmProvider
- Returns:
-
makeAlgorithm
public BeamFormerAlgorithm makeAlgorithm(BeamFormerBaseProcess beamFormerProcess, BeamAlgorithmParams parameters, int firstSeqNum, int beamogramNum) Description copied from interface:BeamAlgorithmProvider
Create an instance of the algorithm for a set of channels.- Specified by:
makeAlgorithm
in interfaceBeamAlgorithmProvider
- Parameters:
beamFormerProcess
- Beam former processparameters
- the parameters to use in this algorithm (provider will need to cast this to parameter type that matches the algorithm)firstSeqNum
- the sequence number to start with when numbering beamsbeamogramNum
- the sequence number of the beamogram- Returns:
- new Beam Former Algorithm.
-
createNewParams
Description copied from interface:BeamAlgorithmProvider
Create an instance of the algorithm parameters- Specified by:
createNewParams
in interfaceBeamAlgorithmProvider
- Parameters:
algorithmName
- the algorithm namegroupNumber
- the group numberchannelMap
- channel map for channels used in this group- Returns:
-
getParamsDialog
public SettingsPane<?> getParamsDialog(BeamFormerParams overallParams, BeamAlgorithmParams algoParams) Description copied from interface:BeamAlgorithmProvider
Return the algorithm-specific parameters dialog, populated with the parameters passed- Specified by:
getParamsDialog
in interfaceBeamAlgorithmProvider
- Parameters:
overallParams
- the current parameters used by the BeamformerSettingsPane object - contains the current source/group information for this settings GUI, and may not necessarily be the same as the parameters stored in the BeamFormerBaseControl object.algoParams
- the algorithm parameters to display in the dialog- Returns:
- the dialog
-
getCurrentParams
Description copied from interface:BeamAlgorithmProvider
Retrieve the current set of parameters. These will be the last parameters that were displayed in the dialog- Specified by:
getCurrentParams
in interfaceBeamAlgorithmProvider
- Returns:
-