public class WhistleBearingInfo extends AbstractLocalisation
HAS_AMBIGUITY, HAS_BEARING, HAS_BEARINGERROR, HAS_DEPTH, HAS_DEPTHERROR, HAS_LATLONG, HAS_PERPENDICULARERRORS, HAS_RANGE, HAS_RANGEERROR, HAS_XY, HAS_XYZ
Constructor and Description |
---|
WhistleBearingInfo(PamDataUnit pamDataUnit,
BearingLocaliser bearingLocaliser,
int hydrophones,
double[][] anglesAndErrors) |
Modifier and Type | Method and Description |
---|---|
boolean |
bearingAmbiguity() |
double[] |
getAngles() |
double |
getBearingReference()
Get the reference bearing in radians.
|
double |
getRange(int side)
Get the range for a specific side (where ambiguity exists)
|
double[] |
getTimeDelays()
Time delays in seconds.
|
addLocContents, getAngleErrors, getArrayOrientationVectors, getBearing, getBearing, getBearingError, getBearingError, getDepth, getDepth, getDepthError, getDepthError, getErrorDirection, getLatLong, getLocContents, getNumLatLong, getOriginLatLong, getParallelError, getParentDetection, getPerpendiculaError, getPlanarAngles, getPlanarVector, getRange, getRangeError, getRangeError, getRealWorldVectors, getReferenceHydrophones, getSubArrayType, getTimeDelayErrors, getWorldVectors, hasLocContent, indexM1, indexM2, removeLocContents, setArrayAxis, setLocContents, setParentDetection, setReferenceHydrophones, setSubArrayType
public WhistleBearingInfo(PamDataUnit pamDataUnit, BearingLocaliser bearingLocaliser, int hydrophones, double[][] anglesAndErrors)
public double[] getAngles()
getAngles
in class AbstractLocalisation
For a point array, null should be returned.
For a line array a single angle is returned which is the angle relative to the first orientation vector with 0 being in line with the orientation vector (can be thought of as colatitude).
For a planar or volumetric array, two angles should be returned, the first being the colatitude, the second being the longitude which will be between 0 and pi for a planar array and either -pi to pi or 0 to 2pi for a volumetric array.
public double getBearingReference()
AbstractLocalisation
getBearingReference
in class AbstractLocalisation
public boolean bearingAmbiguity()
bearingAmbiguity
in class AbstractLocalisation
public double getRange(int side)
AbstractLocalisation
getRange
in class AbstractLocalisation
public double[] getTimeDelays()
AbstractLocalisation
getTimeDelays
in class AbstractLocalisation