Class MLLineBearingLocaliser2
java.lang.Object
Localiser.algorithms.timeDelayLocalisers.bearingLoc.MLGridBearingLocaliser2
Localiser.algorithms.timeDelayLocalisers.bearingLoc.MLLineBearingLocaliser2
- All Implemented Interfaces:
BearingLocaliser
,LocalisationAlgorithm
,LocalisationAlgorithmInfo
- Author:
- dg50
-
Nested Class Summary
Nested classes/interfaces inherited from class Localiser.algorithms.timeDelayLocalisers.bearingLoc.MLGridBearingLocaliser2
MLGridBearingLocaliser2.LocaliserParams
-
Constructor Summary
ConstructorsConstructorDescriptionMLLineBearingLocaliser2
(int hydrophoneBitMap, long timMillis, double timingError) -
Method Summary
Modifier and TypeMethodDescriptionint
Get the likely content flags for this localiser.protected int
thetaAngleToBin
(double theta) Convert an angle into a bin, constrained to 0 invalid input: '<'= bin invalid input: '<' nBinsprotected double
thetaBinToAngle
(double bin) Convert a bin into an angle.Methods inherited from class Localiser.algorithms.timeDelayLocalisers.bearingLoc.MLGridBearingLocaliser2
getAlgorithmInfo, getAlgorithmName, getArrayAxis, getArrayType, getHydrophoneMap, getLikelihoodLUT, getLocalizationOptionsPanel, getParameters, getTethysCreator, localise, localiseByBisection, localiseByCrawl, prepare, setAnalysisAngles
-
Constructor Details
-
MLLineBearingLocaliser2
public MLLineBearingLocaliser2(int hydrophoneBitMap, long timMillis, double timingError) - Parameters:
hydrophoneBitMap
-timMillis
-timingError
-
-
-
Method Details
-
getLocalisationContents
public int getLocalisationContents()Description copied from interface:LocalisationAlgorithmInfo
Get the likely content flags for this localiser.- Specified by:
getLocalisationContents
in interfaceLocalisationAlgorithmInfo
- Overrides:
getLocalisationContents
in classMLGridBearingLocaliser2
- Returns:
- localisation flags.
- See Also:
-
thetaBinToAngle
protected double thetaBinToAngle(double bin) Convert a bin into an angle.- Overrides:
thetaBinToAngle
in classMLGridBearingLocaliser2
- Parameters:
bin
- bin index- Returns:
- angle
-
thetaAngleToBin
protected int thetaAngleToBin(double theta) Convert an angle into a bin, constrained to 0 invalid input: '<'= bin invalid input: '<' nBins- Overrides:
thetaAngleToBin
in classMLGridBearingLocaliser2
- Parameters:
theta
- angle- Returns:
- bin
-