Uses of Class
pamMaths.PamVector
Packages that use 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
Methods in beamformer that return PamVector -
Uses of PamVector in beamformer.algorithms.basicFreqDomain
Constructors in beamformer.algorithms.basicFreqDomain with parameters of type PamVectorModifierConstructorDescriptionBasicFreqDomBeam
(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
Constructors in beamformer.algorithms.mvdr with parameters of type PamVectorModifierConstructorDescriptionMVDRBeam
(MVDRalgorithm mvdRalgorithm, int channelMap, int sequenceNum, PamVector beamVec, PamVector[] elementLocs, double[] freqBins, double speedOfSound) Main constructor -
Uses of PamVector in clickDetector
Constructors in clickDetector with parameters of type PamVectorModifierConstructorDescriptionClickLocalisation
(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
Methods in difar.trackedGroups that return PamVectorModifier and TypeMethodDescriptionTrackedGroupTargetMotionInformation.getOrigins()
TrackedGroupLocalisation.getWorldVectors()
PamVector[][]
TrackedGroupTargetMotionInformation.getWorldVectors()
TrackedGroupCrossingInfo.getXyz()
TrackedGroupTargetMotionInformation.latLongToMetres
(LatLong ll) Methods in difar.trackedGroups with parameters of type PamVectorModifier and TypeMethodDescriptionTrackedGroupTargetMotionInformation.metresToLatLong
(PamVector pt) -
Uses of PamVector in GPS
-
Uses of PamVector in group3dlocaliser.algorithm.gridsearch
Methods in group3dlocaliser.algorithm.gridsearch that return PamVectorMethods in group3dlocaliser.algorithm.gridsearch with parameters of type PamVector -
Uses of PamVector in group3dlocaliser.grids
Methods in group3dlocaliser.grids that return PamVectorModifier and TypeMethodDescriptionabstract PamVector
Grid3D.getNextPoint()
Get the next point in the grid.SphericalGrid.getNextPoint()
-
Uses of PamVector in group3dlocaliser.localisation
Constructors in group3dlocaliser.localisation with parameters of type PamVectorModifierConstructorDescriptionLinearLocalisation
(PamDataUnit pamDataUnit, int referenceHydrophones, PamVector[] arrayAxes, double bearing, Double range) -
Uses of PamVector in Localiser.algorithms.genericLocaliser
Fields in Localiser.algorithms.genericLocaliser declared as PamVectorMethods in Localiser.algorithms.genericLocaliser that return PamVectorModifier and TypeMethodDescriptionChi2Bearings.getSubDetectionAngleErrors()
Get sub detection angle errors.Chi2Bearings.getSubDetectionOrigins()
Get sub detection origins.Chi2Bearings.getUsedWorldVectors()
Get the angle of each sub detection.Constructors in Localiser.algorithms.genericLocaliser with parameters of type PamVectorModifierConstructorDescriptionChi2Bearings
(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
Fields in Localiser.algorithms.locErrors declared as PamVectorModifier 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)Methods in Localiser.algorithms.locErrors that return PamVectorModifier and TypeMethodDescriptionEllipticalError.getErrorDirection()
LocaliserError.getErrorDirection()
Get the real world error direction.SimpleError.getErrorDirection()
Methods in Localiser.algorithms.locErrors with parameters of type PamVectorModifier 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
Methods in Localiser.algorithms.timeDelayLocalisers.bearingLoc that return PamVectorModifier 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
Methods in Localiser.detectionGroupLocaliser that return PamVectorModifier 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) Methods in Localiser.detectionGroupLocaliser with parameters of type PamVectorModifier 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
Methods in PamDetection that return PamVectorModifier 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.Methods in PamDetection with parameters of type PamVectorModifier 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.Constructors in PamDetection with parameters of type PamVectorModifierConstructorDescriptionAbstractLocalisation
(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
Methods in propagation that return PamVectorModifier 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
Methods in simulatedAcquisition that return PamVectorMethods in simulatedAcquisition with parameters of type PamVectorModifier and TypeMethodDescriptionvoid
SimObjectDataUnit.setCurrentHeading
(PamVector currentHeading) void
SimObjectDataUnit.setCurrentPosition
(long timeMilliseconds, LatLong currentPosition, double currentHeight, PamVector currentHeading) -
Uses of PamVector in simulatedAcquisition.sounds
Methods in simulatedAcquisition.sounds that return PamVectorModifier and TypeMethodDescriptionSimSound.getHeading()
PamVector[][]
SimSound.getPointingVectors()
Methods in simulatedAcquisition.sounds with parameters of type PamVectorModifier and TypeMethodDescriptionvoid
SimSound.setPointingVectors
(PamVector[][] pointingVectors) Constructors in simulatedAcquisition.sounds with parameters of type PamVectorModifierConstructorDescriptionSimSound
(SimObjectDataUnit simObjectDataUnit, double startSample, long startTimeMillis, LatLong latLong, double height, PamVector heading, SimSignal simSignal) -
Uses of PamVector in targetMotionModule
Methods in targetMotionModule that return PamVectorModifier 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) Methods in targetMotionModule with parameters of type PamVectorModifier 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
Methods in targetMotionOld that return PamVectorModifier 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) Methods in targetMotionOld with parameters of type PamVectorModifier 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.