Class TargetMotionResult

java.lang.Object
PamguardMVC.PamDataUnit
targetMotionModule.TargetMotionResult
All Implemented Interfaces:
Comparable

public class TargetMotionResult extends PamDataUnit
  • Constructor Details

    • TargetMotionResult

      public TargetMotionResult(long timeMillis, TargetMotionModel model, LatLong latLong, int side, double chi2)
      Parameters:
      latLong -
      side -
      chi2 -
  • Method Details

    • getLatLong

      public LatLong getLatLong()
      Returns:
      the latLong
    • setLatLong

      public void setLatLong(LatLong latLong)
      Parameters:
      latLong - the latLong to set
    • getModel

      public TargetMotionModel getModel()
      Returns:
      the model
    • setModel

      public void setModel(TargetMotionModel model)
      Parameters:
      model - the model to set
    • getSide

      public int getSide()
      Returns:
      the side
    • setMCMCJumps

      public void setMCMCJumps(ArrayList<ArrayList<javax.vecmath.Point3f>> MCMCResults)
    • getMCMCJumps

      public ArrayList<ArrayList<javax.vecmath.Point3f>> getMCMCJumps()
    • setError

      public void setError(int iDim, double error)
      Set the error along a particular dimension
      Parameters:
      iDim - dimension (0=x, 1=y, 2=z);
      error - error in metres.
    • getError

      public double getError(int iDim)
      Get the error along a particular dimension
      Parameters:
      iDim - dimension (0=x, 1=y, 2=z);
      Returns:
      error in metres or NaN if not defined.
    • setErrorX

      public void setErrorX(double errorX)
      set Cartesian x Error; Error should be 95% Confidence interval;
      Parameters:
      errorX -
    • setErrorY

      public void setErrorY(double errorY)
      set Cartesian y Error; Error should be 95% Confidence interval;
      Parameters:
      errorY -
    • setErrorZ

      public void setErrorZ(double errorZ)
      set Cartesian z Error. Error should be 95% Confidence interval; Note z is used to define the depth. Negative is below sea surface.
      Parameters:
      errorZ -
    • getErrors

      public Double[] getErrors()
      Get x,y,z Errors. Error is 95% confidence interval. Note z is used to define the depth. Negative is below sea surface.
      Returns:
    • getErrorsd

      public double[] getErrorsd()
    • getXError

      public double getXError()
      Get the Cartesian x error in localisation. Error is 95% confidence interval.
      Returns:
    • getYError

      public double getYError()
      Get the Cartesian y error in localisation. Error is 95% confidence interval.
      Returns:
    • getZError

      public double getZError()
      Get the Cartesian z error in localisation. Error is 95% confidence interval. Note z is used to define the depth. Negative is below sea surface.
      Returns:
    • setSide

      public void setSide(int side)
      Parameters:
      side - the side to set
    • getChi2

      public Double getChi2()
      Returns:
      the chi2
    • setChi2

      public void setChi2(double chi2)
      Parameters:
      chi2 - the chi2 to set
    • getPerpendicularDistance

      public Double getPerpendicularDistance()
      Returns:
      the perpendicularDistance
    • setPerpendicularDistance

      public void setPerpendicularDistance(Double perpendicularDistance)
      Parameters:
      perpendicularDistance - the perpendicularDistance to set
    • getPerpendicularDistanceError

      public Double getPerpendicularDistanceError()
      Returns:
      the perpendicularDistanceError
    • setPerpendicularDistanceError

      public void setPerpendicularDistanceError(Double perpendicularDistanceError)
      Parameters:
      perpendicularDistanceError - the perpendicularDistanceError to set
    • getAic

      public Double getAic()
      Returns:
      the aic
    • setAic

      public void setAic(Double aic)
      Parameters:
      aic - the aic to set
    • getRunTimeMillis

      public Double getRunTimeMillis()
      Returns:
      the runTimeMillis
    • setRunTimeMillis

      public void setRunTimeMillis(Double runTimeMillis)
      Parameters:
      runTimeMillis - the runTimeMillis to set
    • getnDegreesFreedom

      public Integer getnDegreesFreedom()
      Returns:
      the nDegreesFreedom
    • setnDegreesFreedom

      public void setnDegreesFreedom(Integer nDegreesFreedom)
      Parameters:
      nDegreesFreedom - the nDegreesFreedom to set
    • getProbability

      public Double getProbability()
      Returns:
      the probability
    • setProbability

      public void setProbability(Double probability)
      Parameters:
      probability - the probability to set
    • getReferenceHydrophones

      public int getReferenceHydrophones()
      Returns:
      the referenceHydrophones
    • setReferenceHydrophones

      public void setReferenceHydrophones(int referenceHydrophones)
      Parameters:
      referenceHydrophones - the referenceHydrophones to set
    • setComment

      public void setComment(String comment)
    • getComment

      public String getComment()
    • setBeamLatLong

      public void setBeamLatLong(GpsData beamLatLong)
      Parameters:
      beamLatLong - the beamLatLong to set
    • getBeamLatLong

      public GpsData getBeamLatLong()
      Returns:
      the beamLatLong
    • getBeamTime

      public Long getBeamTime()
      Returns:
      the beamTime
    • setBeamTime

      public void setBeamTime(Long beamTime)
      Parameters:
      beamTime - the beamTime to set
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getLocalisationXYZ

      public PamVector getLocalisationXYZ()
    • getStartLatLong

      public GpsData getStartLatLong()
      Get the location on the track line where the first acoustic detection was made.
      Returns:
      latLong of the location of the first location on the track line where a detection was made.
    • getEndLatLong

      public GpsData getEndLatLong()
      Get the location on the track line where the last acoustic detection was made.
      Returns:
      latLong of the location of the last location on the track line where a detection was made.
    • setStartLatLong

      public void setStartLatLong(GpsData startLatLong)
      Set the location on the track line of the first detection used in this target motion loclaisation.
      Parameters:
      startLatLong - -latLong first detection origin
    • setEndLatLong

      public void setEndLatLong(GpsData endLatLong)
      Set the location on the track line of the last detection used in this target motion loclaisation.
      Parameters:
      startLatLong - -latLong- last detection origin.