Package beamformer.algorithms.nullalgo
Class NullBeamProvider
java.lang.Object
beamformer.algorithms.nullalgo.NullBeamProvider
- All Implemented Interfaces:
BeamAlgorithmProvider
Provider for the null beam former.
- Author:
- dg50
-
Constructor Summary
-
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 params) 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
-
NullBeamProvider
public NullBeamProvider()
-
-
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
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.params
- 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:
-