IshmaelLocator
Class IshLocalisation

java.lang.Object
  extended by PamDetection.AbstractLocalisation
      extended by IshmaelLocator.IshLocalisation

public class IshLocalisation
extends AbstractLocalisation

Whenever one of the IshLoc routines calculates a location (bearing, X-Y position, etc.) it generates an IshLocation, which is then passed to the rest of PAMGUARD via IshLocProcess.outputDataBlock.

Author:
Dave Mellinger

Field Summary
(package private)  PamDetection pamDetection
           
 double theta0
           
 double theta0deg
           
 double theta1
           
 double theta1deg
           
 long timeMsec
           
 double x
           
 double y
           
 double z
           
 
Fields inherited from class PamDetection.AbstractLocalisation
HAS_AMBIGUITY, HAS_BEARING, HAS_BEARINGERROR, HAS_DEPTH, HAS_DEPTHERROR, HAS_LATLONG, HAS_PERPENDICULARERRORS, HAS_RANGE, HAS_RANGEERROR, HAS_XY, HAS_XYZ
 
Constructor Summary
IshLocalisation(PamDetection pamDetection, int locContents, int referencePhones)
           
 
Method Summary
 LatLong getLatLong(int iSide)
          Return the latlong for a location.
 
Methods inherited from class PamDetection.AbstractLocalisation
addLocContents, bearingAmbiguity, getAngles, getArrayOrientationVectors, getBearing, getBearing, getBearingError, getBearingError, getBearingReference, getDepth, getDepth, getDepthError, getDepthError, getErrorDirection, getLocContents, getNumLatLong, getOriginLatLong, getParallelError, getParentDetection, getPerpendiculaError, getPlanarAngles, getRange, getRange, getRangeError, getRangeError, getReferenceHydrophones, getSubArrayType, hasLocContent, removeLocContents, setLocContents, setParentDetection, setReferenceHydrophones
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pamDetection

PamDetection pamDetection

timeMsec

public long timeMsec

theta0

public double theta0

theta1

public double theta1

theta0deg

public double theta0deg

theta1deg

public double theta1deg

x

public double x

y

public double y

z

public double z
Constructor Detail

IshLocalisation

IshLocalisation(PamDetection pamDetection,
                int locContents,
                int referencePhones)
Method Detail

getLatLong

public LatLong getLatLong(int iSide)
Description copied from class: AbstractLocalisation
Return the latlong for a location. There may be more than one of them if there is side to side ambiguity.

Overrides:
getLatLong in class AbstractLocalisation
Parameters:
iSide - 0, 1, 2, etc.
Returns:
LatLong information