|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectPamguardMVC.PamDataUnit
PamDetection.AcousticDataUnit
PamDetection.PamDetection
PamDetection.PamLocalisation
@Deprecated public class PamLocalisation
General class for handling localisation information for a PamDetection. Note that PamDetections may have lists of subDetections and superDetections (e.g. a click is a sub detection of a click train, a click train is a super detection of a click; a Whistle Peak is a sub detection of a Whistle Shape, etc.)
It's quite possible that the sub detections and the super detection will all have, or not have localisation information and the amount of information will vary depending on the detection.
This class therefore has a lot of has? type functions to see what types of information are available. Of course, these meed not always be called by many detectors, for instance, the simple IFAW 2 channel click detector knows that there will always be bearing information and no other information for every click. Generic plotting routines may find this stuff really useful though as might detectors / localisers that may be able to extract varying degrees of information from a detection.
| Field Summary | |
|---|---|
(package private) double[] |
angle
Deprecated. |
(package private) double |
depth
Deprecated. |
(package private) boolean |
hasAngle
Deprecated. |
(package private) boolean |
hasAngleAmbiguity
Deprecated. |
(package private) boolean |
hasDepth
Deprecated. |
(package private) boolean |
hasRange
Deprecated. |
(package private) double[] |
heading
Deprecated. |
(package private) double[] |
range
Deprecated. |
(package private) double[] |
tilt
Deprecated. |
| Fields inherited from class PamDetection.PamDetection |
|---|
detectionType |
| Fields inherited from class PamDetection.AcousticDataUnit |
|---|
AMPLITUDE_SCALE_DBREMPA, AMPLITUDE_SCALE_LINREFSD, duration, frequency, startSample |
| Fields inherited from class PamguardMVC.PamDataUnit |
|---|
absBlockIndex, channelBitmap, localisation, oLL, timeMilliseconds |
| Constructor Summary | |
|---|---|
PamLocalisation(long timeMilliseconds,
int istation,
long startSample,
long duration,
boolean hasAngle,
double angle,
boolean hasAngleAmbiguity,
boolean hasRange,
double range,
boolean hasDepth,
double depth)
Deprecated. |
|
| Method Summary | |
|---|---|
double[] |
getAngle()
Deprecated. |
double |
getDepth()
Deprecated. |
double[] |
getHeading()
Deprecated. |
double[] |
getRange()
Deprecated. |
double[] |
getTilt()
Deprecated. |
void |
setAngle(double angle,
int i)
Deprecated. |
void |
setDepth(double depth)
Deprecated. |
void |
setHeading(double heading,
int i)
Deprecated. |
void |
setRange(double range,
int i)
Deprecated. |
void |
setTilt(double tilt,
int i)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
boolean hasAngle
double[] angle
boolean hasAngleAmbiguity
boolean hasRange
double[] range
boolean hasDepth
double depth
double[] heading
double[] tilt
| Constructor Detail |
|---|
public PamLocalisation(long timeMilliseconds,
int istation,
long startSample,
long duration,
boolean hasAngle,
double angle,
boolean hasAngleAmbiguity,
boolean hasRange,
double range,
boolean hasDepth,
double depth)
timeMilliseconds - Detection time in milliseconds (Java Callender)istation - startSample - Detectin start sample (from acquisition start)duration - Detection duration in sampleshasAngle - Localisation has an angleangle - Localisation anglehasAngleAmbiguity - Localisation has angle ambiguityhasRange - Localisation has rangerange - Localisation rangehasDepth - Localisation has depthdepth - Localisation depth| Method Detail |
|---|
public double[] getAngle()
public void setAngle(double angle,
int i)
public double getDepth()
public void setDepth(double depth)
public double[] getRange()
public void setRange(double range,
int i)
public double[] getHeading()
public void setHeading(double heading,
int i)
public double[] getTilt()
public void setTilt(double tilt,
int i)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||