Class AbstractTimeDelayLocaliser<T extends PamDataUnit>

java.lang.Object
targetMotionOld.algorithms.AbstractTargetMotionModel<T>
targetMotionOld.AbstractTimeDelayLocaliser<T>
Type Parameters:
T -
All Implemented Interfaces:
LocaliserModel<T>, TargetMotionModel<T>

public abstract class AbstractTimeDelayLocaliser<T extends PamDataUnit> extends AbstractTargetMotionModel<T>
Reinstated Target motion add-in as used by the click detector. Hope one day still to replace this with Jamie's new one, but keep this one until Jamie's is working.
Author:
Doug Gillespie
  • Field Details

    • currentDetections

      protected ArrayList<PamDataUnit> currentDetections
    • detectionOrigins

      protected PamVector[] detectionOrigins
    • detectionHeadings

      protected PamVector[] detectionHeadings
    • eventRotator

      public EventRotator eventRotator
    • nSubDetections

      protected int nSubDetections
    • arrayManager

      protected ArrayManager arrayManager
    • currentArray

      protected PamArray currentArray
    • avHydrophoneDepth

      protected double avHydrophoneDepth
    • nChannels

      protected int nChannels
    • sampleRate

      protected float sampleRate
    • speedOfSound

      protected double speedOfSound
    • timeDelaysAll

      protected ArrayList<ArrayList<Double>> timeDelaysAll
    • timeDelayErrorsAll

      protected ArrayList<ArrayList<Double>> timeDelayErrorsAll
    • hydrophonePos

      protected ArrayList<ArrayList<javax.vecmath.Point3f>> hydrophonePos
  • Constructor Details

    • AbstractTimeDelayLocaliser

      public AbstractTimeDelayLocaliser()
  • Method Details

    • getEventInfo

      public void getEventInfo(SuperDetection pamDetection)
      Get info for the event attached to the pamDetection
      Parameters:
      pamDetection -
    • setEventRotator

      public void setEventRotator(SuperDetection pamDetection)
    • calculateTimeDelays

      protected void calculateTimeDelays()
      Calculate the time delays for each pamDetection.
    • calculateTimeDelayErrors

      protected void calculateTimeDelayErrors()
    • calcHydrophonePositions

      protected void calcHydrophonePositions()
      We need to calculate the position of all hydrophones in a cartesian (x,y,z) co-ordinate system. To do this we need GPS Co-Ordinates, the heading of the array and dimensions of the array.