public class HyperboleLoc extends AbstractSLAlgorithm implements PamSettings
Constructor and Description |
---|
HyperboleLoc(StaticLocalise staticLocalise) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Algorithm name
|
PamSymbol |
getPlotSymbol(int iResult)
Simple 2D symbol for the map and results table
|
java.io.Serializable |
getSettingsReference() |
long |
getSettingsVersion() |
float[] |
getSymbolColour() |
java.lang.String |
getToolTipText()
Tip for different algorithms - usually brief description.
|
java.lang.String |
getUnitName() |
java.lang.String |
getUnitType() |
boolean |
hasParameters()
Specifies if the algorithm has a settings dialog
|
boolean |
parametersDialog()
Opens a settings dialog if the 'settings' button on the algorithm panel is selected.
|
boolean |
restoreSettings(PamControlledUnitSettings pamControlledUnitSettings) |
java.util.ArrayList<SLResult> |
runModel()
Run model.
|
java.util.ArrayList<SLResult> |
runModel(java.lang.Integer tdSel)
Need to have this for the Mimplex localiser.
|
void |
update(int updateType)
Called whenever updates are called in other panels is changed.
|
calcDetectionMatchTDs, calcNonNullDelays, getCurrentDetection, getDelayArray, getDisplayPanel, getHighlightAppearance, getHydrophonePos, getNormalAppearance, getPlotSymbol3D, getSymbolHightlightColour, getTimeDelayErrors, getTimeDelays, isIndependent, isSelected, setCurrentDetection, setHighlightAppearance, setNormalAppearance, setSelected, stop
public HyperboleLoc(StaticLocalise staticLocalise)
public java.lang.String getName()
SLAlgorithmModel
getName
in interface SLAlgorithmModel
public java.lang.String getToolTipText()
SLAlgorithmModel
getToolTipText
in interface SLAlgorithmModel
public boolean hasParameters()
SLAlgorithmModel
hasParameters
in interface SLAlgorithmModel
public boolean parametersDialog()
SLAlgorithmModel
parametersDialog
in interface SLAlgorithmModel
public java.util.ArrayList<SLResult> runModel()
SLAlgorithmModel
pamDetection- the current detection selected in the control panel. tdSel- the current selected time delay on the map, loclaisationVisualisation and maybe the localisationInformation panels. detectionType- this is an integer flag which is datablock specific and is passed to the AbstractDetectionMatch class-usually specifies which corresponding detections to calculate time delays from. For example, 'detectiontype' in clickDetectionMatch refers to events, classified species and a combination of the two. For whistles this may refer to whistle classification etc- tdSel refers to which time delay to select. Abstractdetectionmatch creates an array of possible time delays for a given detection. Using these three bits of info use the detections subclass of AbstractDetectionMatch to calc time delays and loclaise.
runModel
in interface SLAlgorithmModel
public java.util.ArrayList<SLResult> runModel(java.lang.Integer tdSel)
AbstractSLAlgorithm
runModel
in class AbstractSLAlgorithm
tdSel
- - selected time dealy possibilitypublic PamSymbol getPlotSymbol(int iResult)
SLAlgorithmModel
getPlotSymbol
in interface SLAlgorithmModel
public float[] getSymbolColour()
getSymbolColour
in class AbstractSLAlgorithm
public void update(int updateType)
SLAlgorithmModel
update
in interface SLAlgorithmModel
public java.lang.String getUnitName()
getUnitName
in interface PamSettings
public java.lang.String getUnitType()
getUnitType
in interface PamSettings
public java.io.Serializable getSettingsReference()
getSettingsReference
in interface PamSettings
public long getSettingsVersion()
getSettingsVersion
in interface PamSettings
public boolean restoreSettings(PamControlledUnitSettings pamControlledUnitSettings)
restoreSettings
in interface PamSettings