whistleDetector
Class WhistleLocalisation
java.lang.Object
PamDetection.AbstractLocalisation
whistleDetector.WhistleLocalisation
public class WhistleLocalisation
- extends AbstractLocalisation
| 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 |
| Methods inherited from class PamDetection.AbstractLocalisation |
addLocContents, getAngles, getArrayOrientationVectors, getBearing, getBearingError, getBearingError, getBearingReference, getDepth, getDepth, getDepthError, getDepthError, getErrorDirection, getLatLong, 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 |
delays
private int[] delays
shapeDataUnit
private ShapeDataUnit shapeDataUnit
bearing
private double bearing
WhistleLocalisation
public WhistleLocalisation(ShapeDataUnit shapeDataUnit,
int referenceChannels)
getDelay
public int getDelay(int nDelay)
setDelay
public void setDelay(int delay,
int nDelay)
getShapeDataUnit
public ShapeDataUnit getShapeDataUnit()
getBearing
public double getBearing(int iSide)
- Description copied from class:
AbstractLocalisation
- Get the bearing in radians, relative to the bearing reference
- Overrides:
getBearing in class AbstractLocalisation
- Parameters:
iSide - which side is the bearing on
- Returns:
- bearing in radians
- See Also:
getBearingReference
calculateBearing
public double calculateBearing()
bearingAmbiguity
public boolean bearingAmbiguity()
- Overrides:
bearingAmbiguity in class AbstractLocalisation
- Returns:
- true if the bearing is subject to a left right
(or rotational) ambiguity about the reference bearing.