loc3d_Thode
Class TowedArray3DDataUnit
java.lang.Object
PamguardMVC.PamDataUnit
PamDetection.AcousticDataUnit
PamDetection.PamDetection
loc3d_Thode.TowedArray3DDataUnit
- All Implemented Interfaces:
- java.lang.Comparable<PamDataUnit>
public class TowedArray3DDataUnit
- extends PamDetection
| Methods inherited from class PamDetection.PamDetection |
addSubDetection, addSuperDetection, getDetectionType, getPeakTime, getSubDetection, getSubDetectionsCount, getSubDetectionSyncronisation, getSuperDetection, getSuperDetection, getSuperDetectionsCount, getSuperDetectionSyncronisation, removeSubDetection, removeSuperDetection, setDetectionType, setPeakTime, setUniqueSuperDetection |
| Methods inherited from class PamDetection.AcousticDataUnit |
amplifyMeasuredAmplitudeByDB, amplifyMeasuredAmplitudeByLinear, compareTo, getAmplitudeDB, getCalculatedAmlitudeDB, getDuration, getFrequency, getFrequencyOverlap, getLastSample, getMeasuredAmplitude, getMeasuredAmplitudeType, getSeconds, getStartSample, getTimeOverlap, setCalculatedAmlitudeDB, setDuration, setFrequency, setInfo, setMeasuredAmplitude, setMeasuredAmplitude, setMeasuredAmplitudeType, setStartSample |
| Methods inherited from class PamguardMVC.PamDataUnit |
clearUpdateCount, getAbsBlockIndex, getChannelBitmap, getDatabaseIndex, getDatabaseUpdateOf, getDataUnitFileInformation, getLastUpdateTime, getLocalisation, getPairAngle, getParentDataBlock, getTimeMilliseconds, getUpdateCount, setAbsBlockIndex, setChannelBitmap, setDatabaseIndex, setDatabaseUpdateOf, setDataUnitFileInformation, setLastUpdateTime, setLocalisation, setOriginLatLong, setParentDataBlock, setTimeMilliseconds, updateDataUnit |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
towedArray3DLocalization
private TowedArray3DLocalization towedArray3DLocalization
parentDetection
private PamDetection parentDetection
hasAngle
private boolean hasAngle
angle
private double[] angle
hasAngleAmbiguity
private boolean hasAngleAmbiguity
hasRange
private boolean hasRange
range
private double[] range
hasDepth
private boolean hasDepth
depth
private double depth
heading
private double[] heading
tilt
private double[] tilt
latlong
private LatLong latlong
hasLatLong
private boolean hasLatLong
TowedArray3DDataUnit
public TowedArray3DDataUnit(PamDetection parentDetection,
int locContents,
int referenceHydrophones,
int Nstation,
boolean hasAngle,
boolean hasRange,
boolean hasDepth)
TowedArray3DDataUnit
public TowedArray3DDataUnit(int Nstation)
getAngle
public double[] getAngle()
setAngles
public void setAngles(double[] angle)
setAngle
public void setAngle(double angle,
int i)
getDepth
public double getDepth()
setDepth
public void setDepth(double depth)
HasLatLong
public boolean HasLatLong()
isHasAngles
public boolean isHasAngles()
setHasAngles
public void setHasAngles(boolean hasAngle)
isHasAngleAmbiguity
public boolean isHasAngleAmbiguity()
setHasAngleAmbiguity
public void setHasAngleAmbiguity(boolean hasAngleAmbiguity)
isHasDepth
public boolean isHasDepth()
setHasDepth
public void setHasDepth(boolean hasDepth)
isHasRanges
public boolean isHasRanges()
setHasRanges
public void setHasRanges(boolean hasRange)
getHeadings
public double[] getHeadings()
setHeadings
public void setHeadings(double[] heading)
setHeadings
public void setHeadings(double heading,
int i)
getRanges
public double[] getRanges()
setRanges
public void setRanges(double[] range)
setRanges
public void setRanges(double range,
int i)
getTilts
public double[] getTilts()
setTilts
public void setTilts(double[] tilt)
setTilts
public void setTilts(double tilt,
int i)
setLatLong
public void setLatLong()
getLatlong
public LatLong getLatlong(int iSide)
getOriginLatLong
public LatLong getOriginLatLong(boolean recalculate)
- Description copied from class:
PamDataUnit
- Get the latlongof the mean hydrophone position at the time of
this detection.
- Overrides:
getOriginLatLong in class PamDataUnit
- Returns:
- Lat long of detectin origin (usually the position of the reference hydrophone at time of detection)
calcOandAngles
private void calcOandAngles()
getGpsPosition
protected GpsData getGpsPosition()
- USed when no hydrophone information is specified to get the nearest ships GPS position.
- Overrides:
getGpsPosition in class PamDataUnit
- Parameters:
pamDataUnit -
- Returns: