public abstract class SimpleHydrophoneLocator extends HydrophoneLocator
StraightHydrophoneLocator
,
StaticHydrophoneLocator
,
Serialized FormANGLE_RE_ARRAY, ANGLE_RE_NORTH, ANGLE_RE_SHIP
Constructor and Description |
---|
SimpleHydrophoneLocator(PamArray pamArray,
Streamer streamer) |
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
getArrayHeading(GpsData gpsData)
Return the heading in degrees of the hydrophone array
|
double[] |
getHydrophoneCoordinateErrors(int iHydrophone,
long timeMilliseconds)
Get the hydrophone coordinate errors as a three element (x,y,z) vector.
|
double[] |
getHydrophoneCoordinates(int iHydrophone,
long timeMilliseconds)
Get the hydrophone coordinates as a three element (x,y,z) vector
referenced to the nominal array position (GPS for towed systems, a fixed point, etc.)
|
double |
getPairAngle(long timeMilliseconds,
int phone1,
int phone2,
int angleType)
Get's the angle between a pair of hydrophones
|
double |
getPairSeparation(long timeMilliseconds,
int phone1,
int phone2)
Gets the angle between a pair of hydrophones in degrees
in navigation units, i.e.
|
double |
getPhoneHeading(long timeMilliseconds,
int phoneNo) |
double |
getPhoneHeight(long timeMilliseconds,
int phoneNo)
Get's the depth of a specific hydrophone at a given time.
|
double |
getPhoneTilt(long timeMilliseconds,
int phoneNo)
Get's the tilt of a specific hydrophone at a given time.
|
boolean |
isChangeable()
Note- changeable refers to the array positions changing relative to each other.
|
boolean |
isStatic() |
void |
notifyModelChanged(int changeType,
boolean initComplete) |
getArrayHeading, getDefaultSettings, getLocatorSettings, getName, getPhoneLatLong, getReferenceLatLong, setLocatorSettings
public double getPairAngle(long timeMilliseconds, int phone1, int phone2, int angleType)
HydrophoneLocator
getPairAngle
in class HydrophoneLocator
timeMilliseconds
- time angle is needed forphone1
- First hydrophonephone2
- Second HydrophoneangleType
- Type of angle - ANGLE_RE_NORTH; ANGLE_RE_SHIP; ANGLE_RE_ARRAY;public double getPairSeparation(long timeMilliseconds, int phone1, int phone2)
getPairSeparation
in class HydrophoneLocator
h1
- first hydrophoneh2
- second hydrophonepublic double getPhoneHeight(long timeMilliseconds, int phoneNo)
HydrophoneLocator
getPhoneHeight
in class HydrophoneLocator
timeMilliseconds
- time depth needed forphoneNo
- Hydrophone numberpublic double getPhoneTilt(long timeMilliseconds, int phoneNo)
HydrophoneLocator
getPhoneTilt
in class HydrophoneLocator
timeMilliseconds
- time tilt needed forphoneNo
- Hydrophone numberpublic double getPhoneHeading(long timeMilliseconds, int phoneNo)
public void notifyModelChanged(int changeType, boolean initComplete)
notifyModelChanged
in class HydrophoneLocator
public boolean isStatic()
isStatic
in class HydrophoneLocator
public double[] getHydrophoneCoordinates(int iHydrophone, long timeMilliseconds)
HydrophoneLocator
Hydrophone locators which want to vary location as a function of time should override this function and use the timeMilliseconds parameter to get the true location of the hydrophones in their own way.
getHydrophoneCoordinates
in class HydrophoneLocator
iHydrophone
- hydrophone numbertimeMilliseconds
- time of locationpublic double[] getHydrophoneCoordinateErrors(int iHydrophone, long timeMilliseconds)
HydrophoneLocator
Hydrophone locators which want to vary this error as a function of time should override this function and use the timeMilliseconds parameter to get the true errors in their own way.
getHydrophoneCoordinateErrors
in class HydrophoneLocator
iHydrophone
- hydrophone numbertimeMilliseconds
- time of locationpublic java.lang.Double getArrayHeading(GpsData gpsData)
HydrophoneLocator
getArrayHeading
in class HydrophoneLocator
public boolean isChangeable()
HydrophoneLocator
isChangeable
in class HydrophoneLocator