public class StraightHydrophoneLocator extends MovingHydrophoneLocator
Suitable for use with rigidly mounted hydrophones such as on a glider also. *
If depth readout is installed, then the depth will be taken from the depth data for the appropriate time and also, more interestingly, the y coordinate of each hydrophone will be reduced according to cable angle based on a simple (straight) model of how the hydrophone is lying.
ANGLE_RE_ARRAY, ANGLE_RE_NORTH, ANGLE_RE_SHIP
Constructor and Description |
---|
StraightHydrophoneLocator(PamArray pamArray,
Streamer streamer) |
Modifier and Type | Method and Description |
---|---|
double |
getArrayHeading(long timeMilliseconds,
int phoneNo)
Get the heading of the array at the given time.
|
double |
getCorrectedYPos(long timeMilliseconds,
int phoneNo)
Get a corrected distance astern of the vessel based on the hydrophone being at some
depth and the hydrophone cable being basically straight.
|
LocatorSettings |
getDefaultSettings() |
StraightHydrophoneLocator |
getLocator() |
LocatorSettings |
getLocatorSettings() |
java.lang.String |
getName() |
java.lang.String |
getObserverName() |
double |
getPairAngle(long timeMilliseconds,
int phone1,
int phone2,
int angleType)
Get's the angle between a pair of hydrophones
|
double |
getPhoneHeight(long timeMilliseconds,
int phoneNo)
Get's the depth of a specific hydrophone at a given time.
|
GpsData |
getPhoneLatLong(long timeMilliseconds,
int phoneNo)
Get's the LatLong of a specific hydrophone at a given time.
|
GpsData |
getReferenceLatLong(long timeMilliseconds)
Gets a reference LatLong for the locator at a given time.
|
long |
getRequiredDataHistory(PamObservable o,
java.lang.Object arg) |
void |
noteNewSettings() |
void |
removeObservable(PamObservable o) |
boolean |
setLocatorSettings(LocatorSettings locatorSettings) |
void |
setSampleRate(float sampleRate,
boolean notify) |
java.lang.String |
toString() |
getArrayHeading, getHydrophoneCoordinateErrors, getHydrophoneCoordinates, getPairSeparation, getPhoneHeading, getPhoneTilt, isChangeable, isStatic, notifyModelChanged
public double getPairAngle(long timeMilliseconds, int phone1, int phone2, int angleType)
HydrophoneLocator
getPairAngle
in class SimpleHydrophoneLocator
timeMilliseconds
- time angle is needed forphone1
- First hydrophonephone2
- Second HydrophoneangleType
- Type of angle - ANGLE_RE_NORTH; ANGLE_RE_SHIP; ANGLE_RE_ARRAY;public GpsData getReferenceLatLong(long timeMilliseconds)
HydrophoneLocator
getReferenceLatLong
in class MovingHydrophoneLocator
timeMilliseconds
- time reference needed forpublic double getArrayHeading(long timeMilliseconds, int phoneNo)
HydrophoneLocator
getArrayHeading
in class HydrophoneLocator
phoneNo
- Hydrophone number (the array may be heading in different directions at different places !)public GpsData getPhoneLatLong(long timeMilliseconds, int phoneNo)
HydrophoneLocator
getPhoneLatLong
in class HydrophoneLocator
timeMilliseconds
- time position needed forphoneNo
- Hydrophone numberpublic double getPhoneHeight(long timeMilliseconds, int phoneNo)
HydrophoneLocator
getPhoneHeight
in class SimpleHydrophoneLocator
timeMilliseconds
- time depth needed forphoneNo
- Hydrophone numberpublic double getCorrectedYPos(long timeMilliseconds, int phoneNo)
timeMilliseconds
- time that the Y is required forphoneNo
- hydrophone number.public java.lang.String getObserverName()
public long getRequiredDataHistory(PamObservable o, java.lang.Object arg)
public void noteNewSettings()
public void removeObservable(PamObservable o)
public void setSampleRate(float sampleRate, boolean notify)
public java.lang.String toString()
toString
in class java.lang.Object
public StraightHydrophoneLocator getLocator()
public java.lang.String getName()
getName
in class HydrophoneLocator
public LocatorSettings getDefaultSettings()
getDefaultSettings
in class HydrophoneLocator
public LocatorSettings getLocatorSettings()
getLocatorSettings
in class HydrophoneLocator
public boolean setLocatorSettings(LocatorSettings locatorSettings)
setLocatorSettings
in class HydrophoneLocator