public class EventRotator extends AbstractTargetMotionInformation
Constructor and Description |
---|
EventRotator(java.util.ArrayList<PamDetection> pamDetections,
PamDataBlock pamDataBlock) |
Modifier and Type | Method and Description |
---|---|
long |
getLastUpdateTime() |
double |
getLinFitA()
The 'a' parameter of a straight line fit through the coordinates
before they were rotated (y = a + bx);
|
double |
getLinFitB()
The 'b' parameter of a straight line fit through the coordinates
before they were rotated (y = a + bx);
|
int |
getnSubDetections() |
java.util.ArrayList<PamDetection> |
getPamDetections() |
LatLong |
getPlotOrigin()
The LatLong of the coordinate frame origin.
|
double |
getReferenceAngle()
the reference angle for the straight line track (i.e.
|
int |
getReferenceHydrophones() |
double[] |
getRotatedArrayAngles()
Get an array of rotated array angles at each point in
the Cartesian coordinate frame (i.e.
|
PamVector[] |
getRotatedHeadings()
Array headings at each point in Cartesian coordinate frame
rotated to be close to x axis.
|
PamVector[] |
getRotatedOrigins()
Sub detection origins, rotated to lie close to the x axis.
|
PamVector[][] |
getRotatedWorldVectors()
Get rotated world vectors - vectors rotated with other data to lie along
the x axis.
|
PamVector[] |
getSubDetectionHeadings()
Unit vectors giving the heading of the array at each sub detection
in Cartesian coordinate frame.
|
PamVector[] |
getSubDetectionOrigins()
Sub detection origins, in m E and N of the first one.
|
PamVector[][] |
getWorldVectors()
Get vectors transformed into real world Co-Ordinates, i.e.
|
PamVector |
latLongToMetres(LatLong ll,
boolean rotate) |
LatLong |
metresToLatLong(PamVector pt,
boolean isRotated) |
long |
metresToTime(PamVector pt,
boolean isRotated)
From a position, work out what time that position was passed.
|
checkStreamers, getBeamLatLong, getBeamTime, getCurrentDetections, getEulerAngles, getGPSReference, getHeadingVectors, getHydrophonePos, getNDetections, getObserverThread, getOrigins, getTimeDelayErrors, getTimeDelays, getTimeMillis, latLongToMetres, metresToLatLong, setObserverThread
public EventRotator(java.util.ArrayList<PamDetection> pamDetections, PamDataBlock pamDataBlock)
pamDetection
- public long metresToTime(PamVector pt, boolean isRotated)
pt
- isRotated
- public java.util.ArrayList<PamDetection> getPamDetections()
public long getLastUpdateTime()
public PamVector[] getSubDetectionOrigins()
public PamVector[] getSubDetectionHeadings()
public PamVector[] getRotatedOrigins()
public int getnSubDetections()
public LatLong getPlotOrigin()
public double getLinFitA()
public double getLinFitB()
public double getReferenceAngle()
public double[] getRotatedArrayAngles()
public PamVector[] getRotatedHeadings()
public PamVector[][] getRotatedWorldVectors()
public PamVector[][] getWorldVectors()
getWorldVectors
in interface TargetMotionInformation
getWorldVectors
in class AbstractTargetMotionInformation
public int getReferenceHydrophones()
getReferenceHydrophones
in interface TargetMotionInformation
getReferenceHydrophones
in class AbstractTargetMotionInformation