Class ToadSimplexLocaliser
java.lang.Object
group3dlocaliser.algorithm.LocaliserAlgorithm3D
group3dlocaliser.algorithm.toadbase.TOADBaseAlgorithm
group3dlocaliser.algorithm.toadsimplex.ToadSimplexLocaliser
- All Implemented Interfaces:
LocaliserModel<PamDataUnit>
-
Nested Class Summary
Nested classes/interfaces inherited from class group3dlocaliser.algorithm.toadbase.TOADBaseAlgorithm
TOADBaseAlgorithm.MultiVariateType -
Field Summary
Fields inherited from class group3dlocaliser.algorithm.toadbase.TOADBaseAlgorithm
group3dLocaliser -
Constructor Summary
ConstructorsConstructorDescriptionToadSimplexLocaliser(Group3DLocaliserControl group3dLocaliser, int nDimensions) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanArrayShape(int arrayShape) Ask if the algorithm can process this type of array data.Get an algorithm specific settings pane.The type of localisation information the localiser can accept.getName()Get the name which describes the localiser.getSQLLoggingAddon(int arrayType) Get SQL Logging Addon data to append to the basic database tablebooleanTrue if the model has parameters to set.voidnotifyModelProgress(double progress) This should be called whenever the localiser has finished processing and, if the localisation process is long, then updates progress.voidprocessTOADs(PamDataUnit groupDataUnit, SnapshotGeometry geometry, TOADInformation toadInformation) Process the list of delays, which are in secondsMethods inherited from class group3dlocaliser.algorithm.toadbase.TOADBaseAlgorithm
calcChi2, calcLogLikelihood, canLocalise, checkTOADInformation, countUsableTOADS, countUsableTOADS, estimateCartesianError, estimateEllipticalError, getSourceSettingsPane, getToadBaseParams, prepare, runModelMethods inherited from class group3dlocaliser.algorithm.LocaliserAlgorithm3D
getGroupChannelMap, preFilterLoc, setLocaliserParams
-
Constructor Details
-
ToadSimplexLocaliser
-
-
Method Details
-
processTOADs
public GroupLocalisation processTOADs(PamDataUnit groupDataUnit, SnapshotGeometry geometry, TOADInformation toadInformation) Description copied from class:TOADBaseAlgorithmProcess the list of delays, which are in seconds- Specified by:
processTOADsin classTOADBaseAlgorithm- Parameters:
groupDataUnit- group data unit.geometry-toadInformation- all information on delays, errors, channels, etc.- Returns:
-
printDiagnostics
public void printDiagnostics() -
getName
Description copied from interface:LocaliserModelGet the name which describes the localiser.- Returns:
- the name of the localiser.
-
getSQLLoggingAddon
Description copied from class:LocaliserAlgorithm3DGet SQL Logging Addon data to append to the basic database table- Specified by:
getSQLLoggingAddonin classLocaliserAlgorithm3D- Parameters:
arrayType- type of array - which may affect how logging is organised.- Returns:
- SQL Logging information.
-
getToolTipText
-
getLocContents
Description copied from interface:LocaliserModelThe type of localisation information the localiser can accept. e.g. bearings, time delays etc. The types are defined in the AbstractLocalisation class.- Returns:
- integer bitmap of the type of localisation information the localiser can use.
-
getAlgorithmSettingsPane
Description copied from class:LocaliserAlgorithm3DGet an algorithm specific settings pane. This holds settings which are specific to the localisation algorithm.- Specified by:
getAlgorithmSettingsPanein interfaceLocaliserModel<PamDataUnit>- Overrides:
getAlgorithmSettingsPanein classLocaliserAlgorithm3D- Returns:
- the settings pane for the localiser.
-
hasParams
public boolean hasParams()Description copied from interface:LocaliserModelTrue if the model has parameters to set. If has the localiser has a settings pane it will have parameters. This generally puts an extra button onto a display panel. -
notifyModelProgress
public void notifyModelProgress(double progress) Description copied from interface:LocaliserModelThis should be called whenever the localiser has finished processing and, if the localisation process is long, then updates progress. -
canArrayShape
public boolean canArrayShape(int arrayShape) Description copied from class:LocaliserAlgorithm3DAsk if the algorithm can process this type of array data.- Overrides:
canArrayShapein classLocaliserAlgorithm3D- Parameters:
arrayShape- array shape. One of:
ArrayManager.ARRAY_TYPE_NONE
ArrayManager.ARRAY_TYPE_POINT
ArrayManager.ARRAY_TYPE_LINE
ArrayManager.ARRAY_TYPE_PLANE
ArrayManager.ARRAY_TYPE_VOLUME- Returns:
-