@Deprecated public class PamLocalisation extends PamDetection
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.
AMPLITUDE_SCALE_DBREMPA, AMPLITUDE_SCALE_LINREFSD
Constructor and Description |
---|
PamLocalisation(long timeMilliseconds,
int istation,
long startSample,
long duration,
boolean hasAngle,
double angle,
boolean hasAngleAmbiguity,
boolean hasRange,
double range,
boolean hasDepth,
double depth)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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.
|
addSubDetection, addSuperDetection, findSubDetection, getDetectionType, getEventEndTime, getPeakTime, getSubDetection, getSubDetectionsCount, getSubDetectionSyncronisation, getSuperDetection, getSuperDetection, getSuperDetectionsCount, getSuperDetectionSyncronisation, removeSubDetection, removeSuperDetection, replaceSubDetection, setDetectionType, setEventEndTime, setPeakTime, setUniqueSuperDetection
amplifyMeasuredAmplitudeByDB, amplifyMeasuredAmplitudeByLinear, compareTo, getAmplitudeDB, getCalculatedAmlitudeDB, getDuration, getFrequency, getFrequencyOverlap, getLastSample, getMeasuredAmplitude, getMeasuredAmplitudeType, getSeconds, getStartSample, getSummaryString, getTimeOverlap, setCalculatedAmlitudeDB, setDuration, setFrequency, setInfo, setMeasuredAmplitude, setMeasuredAmplitude, setMeasuredAmplitudeType, setStartSample
addDataAnnotation, clearOandAngles, clearUpdateCount, findDataAnnotation, getAbsBlockIndex, getChannelBitmap, getDataAnnotation, getDatabaseIndex, getDatabaseUpdateOf, getDataUnitFileInformation, getDetectionMatch, getDetectionMatch, getHydrophoneHeading, getLastUpdateTime, getLocalisation, getNumDataAnnotations, getOriginLatLong, getPairAngle, getParentDataBlock, getTimeMilliseconds, getUpdateCount, removeDataAnnotation, removeDataAnnotation, setAbsBlockIndex, setChannelBitmap, setDatabaseIndex, setDatabaseUpdateOf, setDataUnitFileInformation, setLastUpdateTime, setLocalisation, setOriginLatLong, setParentDataBlock, setTimeMilliseconds, updateDataUnit
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 depthpublic 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)