public interface BearingLocaliser
Modifier and Type | Method and Description |
---|---|
PamVector[] |
getArrayAxis()
Get the principle axis of the array
|
int |
getArrayType() |
int |
getHydrophoneMap()
Get a hydrophone map for this localiser
|
double[][] |
localise(double[] delays,
long timeMillis)
Calculate angles theta and phi, based on a set of delays.
|
void |
prepare(int[] arrayElements,
long timeMillis,
double timingError)
Do any preparation necessary (e.g.
|
void prepare(int[] arrayElements, long timeMillis, double timingError)
arrayElements
- list of hydrophone array elements in the
sub array for this localiser.timeMillis,
- current time for this localisationtimingError
- expected timing error for each measurement (typically
1/12 of an ADC bin, or less if interpolation is being used in the cross correlation function).int getArrayType()
int getHydrophoneMap()
PamVector[] getArrayAxis()
for a planar array, this will be the vector on the plane between two hydrophones which is closest to the y axis.
double[][] localise(double[] delays, long timeMillis)
delays
- array of delay times.timeMillis
- of this detection. This is relatively unused except in situation where hydrophone elements are moving relative to each other with time.Data are packed into a two row array, the first row of which contains one or two angles, the second (optional) row contains the errors on those angles.