Localiser
Class GroupDetection<t extends PamDetection>
java.lang.Object
PamguardMVC.PamDataUnit
PamDetection.AcousticDataUnit
PamDetection.PamDetection<t,PamDetection>
Localiser.GroupDetection<t>
- All Implemented Interfaces:
- java.lang.Comparable<PamDataUnit>
- Direct Known Subclasses:
- ClickGroupDetection, TrackedClickGroup, WhistleGroupDetection, WhistleToneGroupedDetection
public class GroupDetection<t extends PamDetection>
- extends PamDetection<t,PamDetection>
|
Method Summary |
boolean |
addFitData(LatLong originLatLong,
LatLong latLong,
double bearing,
double range,
double errorReferenceAngle,
double perpendicularError,
double parallelError,
double referenceHeading)
|
void |
addSubDetection(t subDetection)
Add a sub detection to the sub detection list. |
void |
clearFitData()
|
double |
getBearing(int i)
|
double |
getErrorReferenceAngle(int iSide)
|
int |
getEventId()
|
GroupDetectionLocalisation |
getGroupDetectionLocalisation()
|
LatLong |
getLatLong(int i)
|
int |
getNumLatLong()
|
LatLong |
getOriginLatLong(int i)
|
double |
getParallelError(int i)
|
double |
getPerpendiculaError(int i)
|
java.lang.Double |
getPredictedBearing(long predictionTime)
|
double |
getRange(int i)
|
int |
getReferenceChannels(int i)
|
double |
getReferenceHeading(int i)
|
int |
getStatus()
|
boolean |
isHasFit()
|
private void |
makeLocalisation()
|
void |
setBearing(int i,
double bearing)
|
void |
setErrorReferenceAngle(int iSide,
double errorReferenceAngle)
|
void |
setEventId(int eventId)
|
boolean |
setFitData(int i,
LatLong originLatLong,
LatLong latLong,
double bearing,
double range,
double errorReferenceAngle,
double perpendicularError,
double parallelError,
double referenceHeading)
|
void |
setLatLong(int i,
LatLong latLong)
|
void |
setNumLatLong(int numLatLong)
|
void |
setOriginLatLong(int i,
LatLong originLatLong)
|
void |
setParallelError(int i,
double parallelError)
|
void |
setPerpendicularError(int i,
double perpendicularError)
|
void |
setRange(int i,
double range)
|
void |
setReferenceChannels(int i,
int referenceChannels)
|
void |
setReferenceHeading(int i,
double referenceHeading)
|
void |
setStatus(int status)
|
| Methods inherited from class PamDetection.PamDetection |
addSuperDetection, getDetectionType, getPeakTime, getSubDetection, getSubDetectionsCount, getSubDetectionSyncronisation, getSuperDetection, getSuperDetection, getSuperDetectionsCount, getSuperDetectionSyncronisation, removeSubDetection, removeSuperDetection, setDetectionType, setPeakTime, setUniqueSuperDetection |
| Methods inherited from class PamDetection.AcousticDataUnit |
amplifyMeasuredAmplitudeByDB, amplifyMeasuredAmplitudeByLinear, compareTo, getAmplitudeDB, getCalculatedAmlitudeDB, getDuration, getFrequency, getFrequencyOverlap, getLastSample, getMeasuredAmplitude, getMeasuredAmplitudeType, getSeconds, getStartSample, getTimeOverlap, setCalculatedAmlitudeDB, setDuration, setFrequency, setInfo, setMeasuredAmplitude, setMeasuredAmplitude, setMeasuredAmplitudeType, setStartSample |
| Methods inherited from class PamguardMVC.PamDataUnit |
clearUpdateCount, getAbsBlockIndex, getChannelBitmap, getDatabaseIndex, getDatabaseUpdateOf, getDataUnitFileInformation, getGpsPosition, getLastUpdateTime, getLocalisation, getOriginLatLong, getPairAngle, getParentDataBlock, getTimeMilliseconds, getUpdateCount, setAbsBlockIndex, setChannelBitmap, setDatabaseIndex, setDatabaseUpdateOf, setDataUnitFileInformation, setLastUpdateTime, setLocalisation, setOriginLatLong, setParentDataBlock, setTimeMilliseconds, updateDataUnit |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
status
private int status
eventId
private int eventId
STATUS_OPEN
public static final int STATUS_OPEN
- See Also:
- Constant Field Values
STATUS_CLOSED
public static final int STATUS_CLOSED
- See Also:
- Constant Field Values
NUMPOSITIONS
private static final int NUMPOSITIONS
- See Also:
- Constant Field Values
latLong
private LatLong[] latLong
originLatLong
private LatLong[] originLatLong
bearing
private double[] bearing
range
private double[] range
perpendicularError
private double[] perpendicularError
parallelError
private double[] parallelError
errorReferenceAngle
private double[] errorReferenceAngle
referenceHeading
private double[] referenceHeading
referenceChannels
private int[] referenceChannels
numLatLong
private int numLatLong
groupDetectionLocalisation
private GroupDetectionLocalisation groupDetectionLocalisation
GroupDetection
public GroupDetection(t firstDetection)
GroupDetection
public GroupDetection(long timeMilliseconds,
int channelBitmap,
long startSample,
long duration)
makeLocalisation
private void makeLocalisation()
addSubDetection
public void addSubDetection(t subDetection)
- Description copied from class:
PamDetection
- Add a sub detection to the sub detection list.
- Overrides:
addSubDetection in class PamDetection<t extends PamDetection,PamDetection>
addFitData
public boolean addFitData(LatLong originLatLong,
LatLong latLong,
double bearing,
double range,
double errorReferenceAngle,
double perpendicularError,
double parallelError,
double referenceHeading)
setFitData
public boolean setFitData(int i,
LatLong originLatLong,
LatLong latLong,
double bearing,
double range,
double errorReferenceAngle,
double perpendicularError,
double parallelError,
double referenceHeading)
clearFitData
public void clearFitData()
getStatus
public int getStatus()
setStatus
public void setStatus(int status)
getEventId
public int getEventId()
setEventId
public void setEventId(int eventId)
getLatLong
public LatLong getLatLong(int i)
setLatLong
public void setLatLong(int i,
LatLong latLong)
getBearing
public double getBearing(int i)
getPredictedBearing
public java.lang.Double getPredictedBearing(long predictionTime)
setBearing
public void setBearing(int i,
double bearing)
getOriginLatLong
public LatLong getOriginLatLong(int i)
setOriginLatLong
public void setOriginLatLong(int i,
LatLong originLatLong)
getRange
public double getRange(int i)
setRange
public void setRange(int i,
double range)
getParallelError
public double getParallelError(int i)
setParallelError
public void setParallelError(int i,
double parallelError)
getPerpendiculaError
public double getPerpendiculaError(int i)
setPerpendicularError
public void setPerpendicularError(int i,
double perpendicularError)
getReferenceHeading
public double getReferenceHeading(int i)
setReferenceHeading
public void setReferenceHeading(int i,
double referenceHeading)
isHasFit
public boolean isHasFit()
getReferenceChannels
public int getReferenceChannels(int i)
setReferenceChannels
public void setReferenceChannels(int i,
int referenceChannels)
getGroupDetectionLocalisation
public GroupDetectionLocalisation getGroupDetectionLocalisation()
getNumLatLong
public int getNumLatLong()
setNumLatLong
public void setNumLatLong(int numLatLong)
getErrorReferenceAngle
public double getErrorReferenceAngle(int iSide)
setErrorReferenceAngle
public void setErrorReferenceAngle(int iSide,
double errorReferenceAngle)