Package targetMotionModule
Class TargetMotionResult
java.lang.Object
PamguardMVC.PamDataUnit
targetMotionModule.TargetMotionResult
- All Implemented Interfaces:
 Comparable
- 
Field Summary
Fields inherited from class PamguardMVC.PamDataUnit
absBlockIndex, localisation - 
Constructor Summary
ConstructorsConstructorDescriptionTargetMotionResult(long timeMillis, TargetMotionModel model, LatLong latLong, int side, double chi2)  - 
Method Summary
Modifier and TypeMethodDescriptiongetAic()getChi2()Get the location on the track line where the last acoustic detection was made.doublegetError(int iDim) Get the error along a particular dimensionDouble[]Get x,y,z Errors.double[]getModel()intintgetSide()Get the location on the track line where the first acoustic detection was made.doubleGet the Cartesian x error in localisation.doubleGet the Cartesian y error in localisation.doubleGet the Cartesian z error in localisation.voidvoidsetBeamLatLong(GpsData beamLatLong) voidsetBeamTime(Long beamTime) voidsetChi2(double chi2) voidsetComment(String comment) voidsetEndLatLong(GpsData endLatLong) Set the location on the track line of the last detection used in this target motion loclaisation.voidsetError(int iDim, double error) Set the error along a particular dimensionvoidsetErrorX(double errorX) set Cartesian x Error; Error should be 95% Confidence interval;voidsetErrorY(double errorY) set Cartesian y Error; Error should be 95% Confidence interval;voidsetErrorZ(double errorZ) set Cartesian z Error.voidsetLatLong(LatLong latLong) voidsetMCMCJumps(ArrayList<ArrayList<javax.vecmath.Point3f>> MCMCResults) voidsetModel(TargetMotionModel model) voidsetnDegreesFreedom(Integer nDegreesFreedom) voidsetPerpendicularDistance(Double perpendicularDistance) voidsetPerpendicularDistanceError(Double perpendicularDistanceError) voidsetProbability(Double probability) voidsetReferenceHydrophones(int referenceHydrophones) voidsetRunTimeMillis(Double runTimeMillis) voidsetSide(int side) voidsetStartLatLong(GpsData startLatLong) Set the location on the track line of the first detection used in this target motion loclaisation.toString()Methods inherited from class PamguardMVC.PamDataUnit
addDataAnnotation, addSuperDetection, amplifyMeasuredAmplitudeByDB, amplifyMeasuredAmplitudeByLinear, calcSnapshotGeometry, clearOandAngles, clearUpdateCount, compareTo, findDataAnnotation, findDataAnnotation, freeData, getAbsBlockIndex, getAmplitudeDB, getAnnotationsSummaryString, getBasicData, getCalculatedAmlitudeDB, getChannelBitmap, getColourIndex, getDataAnnotation, getDatabaseIndex, getDatabaseUpdateOf, getDataUnitFileInformation, getDataUnitPopupMenu, getDurationInMilliseconds, getEndTimeInMilliseconds, getFrequency, getFrequencyOverlap, getGpsPosition, getHydrophoneBitmap, getHydrophoneHeading, getLastChangeTime, getLastSample, getLastUpdateTime, getLocalisation, getMeasuredAmplitude, getMeasuredAmplitudeType, getNoiseBackground, getNumDataAnnotations, getOriginLatLong, getParentDataBlock, getSampleDuration, getSampleDurationAsInt, getSeconds, getSequenceBitmap, getSequenceBitmapObject, getSignalExcess, getSignalSPL, getSnapshotGeometry, getStartSample, getSummaryString, getSuperDetection, getSuperDetection, getSuperDetection, getSuperDetection, getSuperDetection, getSuperDetectionsCount, getSuperDetectionSyncronisation, getSuperId, getTimeDelaysSeconds, getTimeMilliseconds, getTimeNanoseconds, getTimeOverlap, getUID, getUpdateCount, isEmbryonic, isForceAmpRecalc, linAmplitudeToDB, removeDataAnnotation, removeDataAnnotation, removeSuperDetection, setAbsBlockIndex, setCalculatedAmlitudeDB, setChannelBitmap, setDatabaseIndex, setDatabaseUpdateOf, setDataUnitFileInformation, setDurationInMilliseconds, setEmbryonic, setForceAmpRecalc, setFrequency, setInfo, setLastUpdateTime, setLocalisation, setMeasuredAmpAndType, setMeasuredAmplitude, setMeasuredAmplitudeType, setNoiseBackground, setParentDataBlock, setSampleDuration, setSequenceBitmap, setSignalExcess, setSignalSPL, setSnapshotGeometry, setStartSample, setTimeDelaysSeconds, setTimeMilliseconds, setUID, setUniqueSuperDetection, sortOutputMaps, updateDataUnit 
- 
Constructor Details
- 
TargetMotionResult
public TargetMotionResult(long timeMillis, TargetMotionModel model, LatLong latLong, int side, double chi2) - Parameters:
 latLong-side-chi2-
 
 - 
 - 
Method Details
- 
getLatLong
- Returns:
 - the latLong
 
 - 
setLatLong
- Parameters:
 latLong- the latLong to set
 - 
getModel
- Returns:
 - the model
 
 - 
setModel
- Parameters:
 model- the model to set
 - 
getSide
public int getSide()- Returns:
 - the side
 
 - 
setMCMCJumps
 - 
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
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
- Returns:
 - the chi2
 
 - 
setChi2
public void setChi2(double chi2) - Parameters:
 chi2- the chi2 to set
 - 
getPerpendicularDistance
- Returns:
 - the perpendicularDistance
 
 - 
setPerpendicularDistance
- Parameters:
 perpendicularDistance- the perpendicularDistance to set
 - 
getPerpendicularDistanceError
- Returns:
 - the perpendicularDistanceError
 
 - 
setPerpendicularDistanceError
- Parameters:
 perpendicularDistanceError- the perpendicularDistanceError to set
 - 
getAic
- Returns:
 - the aic
 
 - 
setAic
- Parameters:
 aic- the aic to set
 - 
getRunTimeMillis
- Returns:
 - the runTimeMillis
 
 - 
setRunTimeMillis
- Parameters:
 runTimeMillis- the runTimeMillis to set
 - 
getnDegreesFreedom
- Returns:
 - the nDegreesFreedom
 
 - 
setnDegreesFreedom
- Parameters:
 nDegreesFreedom- the nDegreesFreedom to set
 - 
getProbability
- Returns:
 - the probability
 
 - 
setProbability
- 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
 - 
getComment
 - 
setBeamLatLong
- Parameters:
 beamLatLong- the beamLatLong to set
 - 
getBeamLatLong
- Returns:
 - the beamLatLong
 
 - 
getBeamTime
- Returns:
 - the beamTime
 
 - 
setBeamTime
- Parameters:
 beamTime- the beamTime to set
 - 
toString
 - 
getLocalisationXYZ
 - 
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
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
Set the location on the track line of the first detection used in this target motion loclaisation.- Parameters:
 startLatLong- -latLong first detection origin
 - 
setEndLatLong
Set the location on the track line of the last detection used in this target motion loclaisation.- Parameters:
 startLatLong- -latLong- last detection origin.
 
 -