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 TypeMethodDescriptionintGet the likely content flags for this localiser.protected intthetaAngleToBin(double theta) Convert an angle into a bin, constrained to 0 invalid input: '<'= bin invalid input: '<' nBinsprotected doublethetaBinToAngle(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:LocalisationAlgorithmInfoGet the likely content flags for this localiser.- Specified by:
getLocalisationContentsin interfaceLocalisationAlgorithmInfo- Overrides:
getLocalisationContentsin classMLGridBearingLocaliser2- Returns:
- localisation flags.
- See Also:
-
thetaBinToAngle
protected double thetaBinToAngle(double bin) Convert a bin into an angle.- Overrides:
thetaBinToAnglein 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:
thetaAngleToBinin classMLGridBearingLocaliser2- Parameters:
theta- angle- Returns:
- bin
-