public class ClickLocalisation 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 |
---|
ClickLocalisation(ClickDetection parentDetection,
int locContents,
int referenceHydrophones,
int subArrayType,
PamVector[] arrayOrientation) |
Modifier and Type | Method and Description |
---|---|
boolean |
bearingAmbiguity() |
double[] |
getAngleErrors() |
double[] |
getAngles() |
double[][] |
getAnglesAndErrors() |
double |
getBearing(int iSide)
Get the bearing in radians, relative to the bearing reference
|
double |
getDelayCorrection() |
int |
getFirstDelay() |
double[] |
getTimeDelayErrors()
Time delay errors
|
double[] |
getTimeDelays()
Time delays in seconds.
|
void |
setAngleErrors(double[] angleErrors) |
void |
setAngles(double[] angles) |
void |
setAnglesAndErrors(double[][] anglesAndErrors) |
void |
setDelayCorrection(double delayCorrection) |
void |
setFirstDelay(int delay) |
void |
setTimeDelay(int idelay,
double timeDelay)
Set a time delay.
|
void |
setTimeDelays(double[] timeDelays)
Set the time delays
|
addLocContents, getArrayOrientationVectors, getBearing, getBearingError, getBearingError, getBearingReference, getDepth, getDepth, getDepthError, getDepthError, getErrorDirection, getLatLong, getLocContents, getNumLatLong, getOriginLatLong, getParallelError, getParentDetection, getPerpendiculaError, getPlanarAngles, getPlanarVector, getRange, getRange, getRangeError, getRangeError, getRealWorldVectors, getReferenceHydrophones, getSubArrayType, getWorldVectors, hasLocContent, indexM1, indexM2, removeLocContents, setArrayAxis, setLocContents, setParentDetection, setReferenceHydrophones, setSubArrayType
public ClickLocalisation(ClickDetection parentDetection, int locContents, int referenceHydrophones, int subArrayType, PamVector[] arrayOrientation)
public boolean bearingAmbiguity()
bearingAmbiguity
in class AbstractLocalisation
public double getBearing(int iSide)
AbstractLocalisation
getBearing
in class AbstractLocalisation
iSide
- which side is the bearing ongetBearingReference
public int getFirstDelay()
public void setFirstDelay(int delay)
public double getDelayCorrection()
public void setDelayCorrection(double delayCorrection)
public void setAnglesAndErrors(double[][] anglesAndErrors)
anglesAndErrors
- the anglesAndErrors to setpublic 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[] getAngleErrors()
getAngleErrors
in class AbstractLocalisation
For a point array, null should be returned.
For a line array a single error 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 errors should be returned, the first being the error on 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[] getTimeDelays()
AbstractLocalisation
getTimeDelays
in class AbstractLocalisation
public void setTimeDelays(double[] timeDelays)
timeDelays.
- List of time delays for this click detection obeying indexM1 and indexM2 rules. If the no. of delays doesn not satisfty group size then the delays are not set.public void setTimeDelay(int idelay, double timeDelay)
idelay
- - which delay to settimeDelays
- - new time delays valuespublic double[] getTimeDelayErrors()
AbstractLocalisation
getTimeDelayErrors
in class AbstractLocalisation
public void setAngles(double[] angles)
public void setAngleErrors(double[] angleErrors)
public double[][] getAnglesAndErrors()