Uses of Class
pamMaths.PamVector
Package
Description
-
Uses of PamVector in Array
Modifier and TypeMethodDescriptionPamArray.getAbsHydrophoneVector
(int iPhone, long timeMillis) Get the true location vector for a hydrophone element which is the phone vector + the array vector.SnapshotGeometry.getArrayAxes()
Get the array axes.ArrayManager.getArrayDirection
(int phones) Get the principle direction vectors for a sub set of hydrophones within the current arrayArrayManager.getArrayDirections()
Get the principle direction vectors for the current arrayArrayManager.getArrayDirections
(PamArray array) Get a set of vectors which define the principle coordinates of an arrayArrayManager.getArrayDirections
(PamArray array, int phones) Get a set of vectors which define the principle components of an array.ArrayManager.getArrayVectors
(PamArray array, int phones) Streamer.getCoordinateVector()
Streamer.getErrorVector()
SnapshotGeometry.getGeometricCentre()
SnapshotGeometry.getGeometry()
SnapshotGeometry.getHydrophoneErrors()
PamArray.getHydrophoneVector
(int iPhone, long timeMillis) Get the hydrophone coordinates for a given time.PamArray.getSeparationErrorVector
(int a1, int a2, long timeMillis) Gets the error of the separation between two hydrophones as a vector.SnapshotGeometry.getStreamerErrors()
Modifier and TypeMethodDescriptiondouble
PamArray.getPerpendicularError
(int a1, int a2, PamVector direction) double
PamArray.getSeparationError
(int a1, int a2, PamVector direction, long timeMillis) Get the separation error in a given directionvoid
SnapshotGeometry.setGeometry
(PamVector[] geometry) -
Uses of PamVector in beamformer
-
Uses of PamVector in beamformer.algorithms.basicFreqDomain
ModifierConstructorDescriptionBasicFreqDomBeam
(BasicFreqDomBeamFormer beamformer, int channelMap, int sequenceNum, PamVector beamVec, PamVector[] elementLocs, int[] channelList, double[] weights, double[] freqBins, double speedOfSound) Main Constructor. -
Uses of PamVector in beamformer.algorithms.mvdr
ModifierConstructorDescriptionMVDRBeam
(MVDRalgorithm mvdRalgorithm, int channelMap, int sequenceNum, PamVector beamVec, PamVector[] elementLocs, double[] freqBins, double speedOfSound) Main constructor -
Uses of PamVector in clickDetector
ModifierConstructorDescriptionClickLocalisation
(ClickDetection parentDetection, int locContents, int referenceHydrophones, int subArrayType, PamVector[] arrayOrientation) -
Uses of PamVector in difar
Modifier and TypeMethodDescriptionDIFARTargetMotionInformation.getOrigins()
DifarLocalisation.getWorldVectors()
PamVector[][]
DIFARTargetMotionInformation.getWorldVectors()
DIFARCrossingInfo.getXyz()
DIFARTargetMotionInformation.latLongToMetres
(LatLong ll) -
Uses of PamVector in difar.trackedGroups
Modifier and TypeMethodDescriptionTrackedGroupTargetMotionInformation.getOrigins()
TrackedGroupLocalisation.getWorldVectors()
PamVector[][]
TrackedGroupTargetMotionInformation.getWorldVectors()
TrackedGroupCrossingInfo.getXyz()
TrackedGroupTargetMotionInformation.latLongToMetres
(LatLong ll) Modifier and TypeMethodDescriptionTrackedGroupTargetMotionInformation.metresToLatLong
(PamVector pt) -
Uses of PamVector in GPS
-
Uses of PamVector in group3dlocaliser.algorithm.gridsearch
-
Uses of PamVector in group3dlocaliser.grids
Modifier and TypeMethodDescriptionabstract PamVector
Grid3D.getNextPoint()
Get the next point in the grid.SphericalGrid.getNextPoint()
-
Uses of PamVector in group3dlocaliser.localisation
ModifierConstructorDescriptionLinearLocalisation
(PamDataUnit pamDataUnit, int referenceHydrophones, PamVector[] arrayAxes, double bearing, Double range) -
Uses of PamVector in Localiser.algorithms.genericLocaliser
Modifier and TypeMethodDescriptionChi2Bearings.getSubDetectionAngleErrors()
Get sub detection angle errors.Chi2Bearings.getSubDetectionOrigins()
Get sub detection origins.Chi2Bearings.getUsedWorldVectors()
Get the angle of each sub detection.ModifierConstructorDescriptionChi2Bearings
(PamVector[] wordlVectors, PamVector[] subDetectionAngleErrors, PamVector[] subDetectionOrigins, PamQuaternion[] rotationVector) Constructor to set up the minimisation function for bearing localisationChi2Bearings
(PamVector[] wordlVectors, PamVector[] subDetectionAngleErrors, PamVector[] subDetectionOrigins, PamQuaternion[] rotationVector, int nDim) Constructor to set up the minimisation function for bearing localisation -
Uses of PamVector in Localiser.algorithms.locErrors
Modifier and TypeFieldDescriptionstatic final PamVector
LocaliserError.xdirVec
PamVector in the x direction (unit vecor)static final PamVector
LocaliserError.ydirVec
PamVector in the y direction (unit vecor)static final PamVector
LocaliserError.zdirVec
PamVector in the y direction (unit vector)Modifier and TypeMethodDescriptionEllipticalError.getErrorDirection()
LocaliserError.getErrorDirection()
Get the real world error direction.SimpleError.getErrorDirection()
Modifier and TypeMethodDescriptiondouble
double
double
Return the error in a particular direction.double
Get a simple error.void
SimpleError.setPerpVector
(PamVector errorVector) -
Uses of PamVector in Localiser.algorithms.timeDelayLocalisers.bearingLoc
Modifier and TypeMethodDescriptionBearingLocaliser.getArrayAxis()
Get the principle axis of the arrayCombinedBearingLocaliser.getArrayAxis()
Deprecated.LSQBearingLocaliser.getArrayAxis()
MLGridBearingLocaliser.getArrayAxis()
Deprecated.MLGridBearingLocaliser2.getArrayAxis()
PairBearingLocaliser.getArrayAxis()
SimplexBearingLocaliser.getArrayAxis()
Deprecated. -
Uses of PamVector in Localiser.detectionGroupLocaliser
Modifier and TypeMethodDescriptionGroupLocalisation.getErrorDirection
(int iSide) GroupLocResult.getErrorVector()
Get the vector which points in perpendicular direction to the localisation in the xy plane.GroupLocResult.getFirstBearing()
static PamVector[]
TMGroupLocInfo.getHeadingVectors
(PamQuaternion[] eulerAngles) Deprecated.GroupLocInfo.getOrigins()
Returns the origin of the hydrophone array for each detection point- this is in meters relative to 0,0,0;TMGroupLocInfo.getOrigins()
PamVector[][]
TMGroupLocInfo.getRawWorldVectors
(boolean recalc) Get the real world vectors for all detections and presents in an array.GroupLocInfo.getWorldVectorErrors
(int side) The error for world vectorsTMGroupLocInfo.getWorldVectorErrors
(int side) GroupLocInfo.getWorldVectors
(int side) The real world vectors for each detection.TMGroupLocInfo.getWorldVectors
(int side) GroupLocInfo.latLongToMetres
(LatLong ll) TMGroupLocInfo.latLongToMetres
(LatLong ll) Modifier and TypeMethodDescriptionGroupLocInfo.metresToLatLong
(PamVector pt) Convert a point in your Cartesian Co-ordinate frameTMGroupLocInfo.metresToLatLong
(PamVector pt) void
GroupLocResult.setFirstBearing
(PamVector firstBearing) void
GroupLocResult.setPerpErrorVector
(PamVector perpVecor) Set the vector which points in perpendicular direction to the localisation in the xy plane. -
Uses of PamVector in PamDetection
Modifier and TypeMethodDescriptionAbstractLocalisation.getArrayOrientationVectors()
AbstractLocalisation.getErrorDirection
(int iSide) Get an angle that the errors are to be plotted relative to.AbstractLocalisation.getPlanarVector()
Get a unit vector pointing towards this localisation in the coordinate frame of the array geometry.AbstractLocalisation.getRealWorldVectors()
Get vectors to the detection in real world (relative to earths surface) coordinates.AbstractLocalisation.getWorldVectors()
Get vectors pointing at this localisation in a real world coordinate frame.Modifier and TypeMethodDescriptionvoid
AbstractLocalisation.setArrayAxis
(PamVector[] arrayAxis) Set the array axis - one, two or three axes defining the principle orientations of the array used for the localisation.ModifierConstructorDescriptionAbstractLocalisation
(PamDataUnit pamDataUnit, int locContents, int referenceHydrophones, int arrayType, PamVector[] arrayAxis) Constructor for a localisation. -
Uses of PamVector in pamMaths
Modifier and TypeFieldDescriptionstatic final PamVector[]
PamVector.cartesianAxes
static final PamVector
PamVector.xAxis
static final PamVector
PamVector.yAxis
static final PamVector
PamVector.zAxis
Modifier and TypeMethodDescriptionPamVector.absElements()
Make all elements within the vector positive.Add another vector to this vector and return the result in a new Vectorstatic PamVector
Add any number of vectors together.static PamVector
PamVector.addQuadrature
(PamVector... pamVectors) Add any number of vectors together in quadrature.PamVector.clone()
static PamVector
PamVector.fromHeadAndSlant
(double heading, double slantAngle) Create a unit vector based on a heading (degrees from North) and a slant angle 90 up up, -90 = downstatic PamVector
PamVector.fromHeadAndSlantR
(double heading, double slantAngle) Create a unit vector based on a heading (radians) and a slant angle Pi/2 up to -Pi/2 = downstatic PamVector
PamVector.getCartesianAxes
(int iAxis) PamVector.getPerpendicularVector()
Get a vector that's perpendicular to the current one, in the xy plane if at all possible.PamVector.getUnitVector()
Get the unit vector, or if the vector is zero, return the zero vector (0,0,0).static PamVector[]
PamVector.getVectorPairs
(PamVector[] vectors) Create a set of vector pairs, which are vectors between all the vectors in the input argumentstatic PamVector
PamVector.getXAxis()
static PamVector
PamVector.getYAxis()
static PamVector
PamVector.getZAxis()
static PamVector
Calculate the mean position of a set of vectors.PamVector.rotate
(double rotationAngle) Rotate a vector anti-clockwise by an angle.PamVector.rotate
(Jama.Matrix rotationMatrix) Rotate the vector by a matrix.Rotate a vector using another vector.static PamVector
PamVector.rotateVector
(PamVector vector, double[] angle) Rotates a vector by the Euler angles.static PamVector
PamVector.rotateVector
(PamVector vector, double[] origin, PamQuaternion orientation) Rotates a vector about an origin pointstatic PamVector
PamVector.rotateVector
(PamVector vector, double heading, double pitch) Rotates a vector by the Euler angles.static PamVector
PamVector.rotateVector
(PamVector vector, PamQuaternion orientation) Rotates a vector by a Quaternion .Subtract another vector from this vector and return the result in a new VectorPamVector.times
(double scalar) Multiply a vector by a scalarVector or cross product of two vectors.Modifier and TypeMethodDescriptiondouble
Calculates the smallest angle between two vectors (0 invalid input: '<'= angle invalid input: '<' pi/2);Add another vector to this vector and return the result in a new Vectorstatic PamVector
Add any number of vectors together.static PamVector
PamVector.addQuadrature
(PamVector... pamVectors) Add any number of vectors together in quadrature.double
Calculate the angle between two vectorsstatic Jama.Matrix
PamVector.arrayToMatrix
(PamVector[] pamVectors) convert a series of vectors into a Matrixdouble
double
PamVector.distSquared
(PamVector vec) double
boolean
static double[]
PamVector.getHeadingPitchRoll
(PamVector[] vectors) Convert orthogonal vectors to heading pitch and roll.static double[]
PamVector.getMinimalHeadingPitchRoll
(PamVector[] vectors) Get minimum heading pitch and roll information, throwing away any data which are zeros.static PamVector[]
PamVector.getVectorPairs
(PamVector[] vectors) Create a set of vector pairs, which are vectors between all the vectors in the input argumentboolean
Test to see whether two vectors lie in a perfect lineboolean
PamVector.isParallel
(PamVector vec) Tests to see whether two vectors are parallelstatic PamVector
Calculate the mean position of a set of vectors.Rotate a vector using another vector.static PamVector
PamVector.rotateVector
(PamVector vector, double[] angle) Rotates a vector by the Euler angles.static PamVector
PamVector.rotateVector
(PamVector vector, double[] origin, PamQuaternion orientation) Rotates a vector about an origin pointstatic PamVector
PamVector.rotateVector
(PamVector vector, double heading, double pitch) Rotates a vector by the Euler angles.static PamVector
PamVector.rotateVector
(PamVector vector, PamQuaternion orientation) Rotates a vector by a Quaternion .Subtract another vector from this vector and return the result in a new Vectordouble
PamVector.sumComponentsSquared
(PamVector vec) A bit like a dot product, but the three components are added in quadrature.double
PamVector.tripleDotProduct
(PamVector v1, PamVector v2) Calculate the triple product of this with v1 and v2Vector or cross product of two vectors.static double[]
PamVector.vectorsToSurfaceBearings
(PamVector[] vectors) Convert an array of Cartesian vectors into bearings from North.static double
PamVector.vectorToSurfaceBearing
(PamVector vector) Convert a Cartesian vector into a bearing from North. -
Uses of PamVector in PamUtils
Modifier and TypeMethodDescriptionLatLong.addDistanceMeters
(PamVector movementVector) Add an x,y,z vector to the current location. -
Uses of PamVector in propagation
Modifier and TypeMethodDescriptionLogLawPropagation.getPointingVectors()
PropagationModel.getPointingVectors()
Get a list of vectors pointing from the sound source to the receiver (or it's apparent location for surface echos).SurfaceEcho.getPointingVectors()
-
Uses of PamVector in simulatedAcquisition
Modifier and TypeMethodDescriptionvoid
SimObjectDataUnit.setCurrentHeading
(PamVector currentHeading) void
SimObjectDataUnit.setCurrentPosition
(long timeMilliseconds, LatLong currentPosition, double currentHeight, PamVector currentHeading) -
Uses of PamVector in simulatedAcquisition.sounds
Modifier and TypeMethodDescriptionSimSound.getHeading()
PamVector[][]
SimSound.getPointingVectors()
Modifier and TypeMethodDescriptionvoid
SimSound.setPointingVectors
(PamVector[][] pointingVectors) ModifierConstructorDescriptionSimSound
(SimObjectDataUnit simObjectDataUnit, double startSample, long startTimeMillis, LatLong latLong, double height, PamVector heading, SimSignal simSignal) -
Uses of PamVector in targetMotionModule
Modifier and TypeMethodDescriptionstatic PamVector[]
AbstractTargetMotionInformation.getHeadingVectors
(PamQuaternion[] eulerAngles) Deprecated.This is a piece of code designed to bridge the gap between using Euler angles and heading angles.TargetMotionResult.getLocalisationXYZ()
AbstractTargetMotionInformation.getOrigins()
Deprecated.TargetMotionInformation.getOrigins()
Returns the origin of the hydrophone array for each detection point- this is in meters relative to 0,0,0;EventRotator.getRotatedHeadings()
Deprecated.Array headings at each point in Cartesian coordinate frame rotated to be close to x axis.EventRotator.getRotatedOrigins()
Deprecated.Sub detection origins, rotated to lie close to the x axis.PamVector[][]
EventRotator.getRotatedWorldVectors()
Deprecated.Get rotated world vectors - vectors rotated with other data to lie along the x axis.EventRotator.getSubDetectionHeadings()
Deprecated.Unit vectors giving the heading of the array at each sub detection in Cartesian coordinate frame.EventRotator.getSubDetectionOrigins()
Deprecated.Sub detection origins, in m E and N of the first one.PamVector[][]
AbstractTargetMotionInformation.getWorldVectors()
Deprecated.PamVector[][]
EventRotator.getWorldVectors()
Deprecated.Get vectors transformed into real world Co-Ordinates, i.e.PamVector[][]
TargetMotionInformation.getWorldVectors()
The real world vectors for each detection.AbstractTargetMotionInformation.latLongToMetres
(LatLong ll) Deprecated.EventRotator.latLongToMetres
(LatLong ll, boolean rotate) Deprecated.TargetMotionInformation.latLongToMetres
(LatLong ll) Modifier and TypeMethodDescriptionAbstractTargetMotionInformation.metresToLatLong
(PamVector pt) Deprecated.EventRotator.metresToLatLong
(PamVector pt, boolean isRotated) Deprecated.TargetMotionInformation.metresToLatLong
(PamVector pt) Convert a point in your cartesian co-ordinate framelong
EventRotator.metresToTime
(PamVector pt, boolean isRotated) Deprecated.From a position, work out what time that position was passed. -
Uses of PamVector in targetMotionOld
Modifier and TypeMethodDescriptionEventRotator.getRotatedHeadings()
Array headings at each point in Cartesian coordinate frame rotated to be close to x axis.EventRotator.getRotatedOrigins()
Sub detection origins, rotated to lie close to the x axis.PamVector[][]
EventRotator.getRotatedWorldVectors()
Get rotated world vectors - vectors rotated with other data to lie along the x axis.EventRotator.getSubDetectionHeadings()
Unit vectors giving the heading of the array at each sub detection in Cartesian coordinate frame.EventRotator.getSubDetectionOrigins()
Sub detection origins, in m E and N of the first one.PamVector[][]
EventRotator.getWorldVectors()
Get vectors transformed into real world Co-Ordinates, i.e.EventRotator.latLongToMetres
(LatLong ll, boolean rotate) Modifier and TypeMethodDescriptionEventRotator.metresToLatLong
(PamVector pt, boolean isRotated) long
EventRotator.metresToTime
(PamVector pt, boolean isRotated) From a position, work out what time that position was passed.