Package Array
Class SimpleHydrophoneLocator
java.lang.Object
Array.HydrophoneLocator
Array.SimpleHydrophoneLocator
- All Implemented Interfaces:
Serializable
,Cloneable
,ManagedParameters
- Direct Known Subclasses:
MovingHydrophoneLocator
Some abstract class function for hydrophone location that are used by
more concrete locators, in particular the StaticHydrophoneLocator
and StraightHydrophoneLocators
- Author:
- Doug Gillespie
- See Also:
-
Field Summary
Fields inherited from class Array.HydrophoneLocator
pamArray, streamer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static double[]
getArrayCenter
(ArrayList<Hydrophone> hydrophones) Find the origin point of the array.double
getPairSeparation
(long timeMilliseconds, int phone1, int phone2) Gets the angle between a pair of hydrophones in degrees in navigation units, i.e.boolean
Note- changeable refers to the array positions changing relative to each other.boolean
isStatic()
void
notifyModelChanged
(int changeType, boolean initComplete) Methods inherited from class Array.HydrophoneLocator
getDefaultSettings, getLocatorSettings, getName, getParameterSet, getPhoneLatLong, getStreamer, getStreamerGpsPos, getStreamerLatLong, setLocatorSettings
-
Constructor Details
-
SimpleHydrophoneLocator
-
-
Method Details
-
getPairSeparation
public double getPairSeparation(long timeMilliseconds, int phone1, int phone2) Gets the angle between a pair of hydrophones in degrees in navigation units, i.e. clockwise from North- Parameters:
h1
- first hydrophoneh2
- second hydrophone- Returns:
- angle from north in degrees
-
notifyModelChanged
public void notifyModelChanged(int changeType, boolean initComplete) - Specified by:
notifyModelChanged
in classHydrophoneLocator
-
isStatic
public boolean isStatic()- Specified by:
isStatic
in classHydrophoneLocator
- Returns:
- true if it's some sort of static array (not using GPS data in any way).
-
getArrayCenter
Find the origin point of the array. In the case of a paired towed array this will be halfway between the elements but in the case of more complicated towed array this will be the average positions of all the hydrophones- Parameters:
hydrophones
-- Returns:
-
isChangeable
public boolean isChangeable()Description copied from class:HydrophoneLocator
Note- changeable refers to the array positions changing relative to each other. i.e. the array doesn't change with heading or gps position, it's only changeable if the distances between hydrophones can change with time.- Specified by:
isChangeable
in classHydrophoneLocator
- Returns:
- true if the hydrophone positions within the array can change with time
-