Class GroupDetection<T extends PamDataUnit>
java.lang.Object
PamguardMVC.PamDataUnit<T,SuperDetection>
PamguardMVC.superdet.SuperDetection<T>
Localiser.detectionGroupLocaliser.GroupDetection<T>
- All Implemented Interfaces:
Comparable<PamDataUnit>
,PamDetection
,AcousticDataUnit
- Direct Known Subclasses:
OfflineEventDataUnit
,SegmenterDetectionGroup
,WhistleGroupDetection
,WhistleToneGroupedDetection
public class GroupDetection<T extends PamDataUnit>
extends SuperDetection<T>
implements PamDetection
-
Field Summary
-
Constructor Summary
ConstructorDescriptionGroupDetection
(long timeMilliseconds, int channelBitmap, long startSample, long duration) Note that if using this constructor, the sequence map will have to be set explicitly by the calling classGroupDetection
(T firstDetection) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addFitData
(int iSide, GpsData originLatLong, LatLong detectionLatLong, double bearing, double range, double referenceHeading, double perpendicularError, double parallelError, double referenceHeading2) Deprecated.int
addSubDetection
(T subDetection) Add a sub detection to the sub detection list.long
int
Get thegetPredictedBearing
(long predictionTime) int
void
void
setEventEndTime
(long eventEndTime) void
setEventId
(int eventId) void
setStatus
(int status) Methods inherited from class PamguardMVC.superdet.SuperDetection
addSubDetectionInfo, addSubDetections, clearSubDetectionData, clearSubDetectionObjects, clearSubdetectionsRemoved, findSubDetection, findSubDetection, findSubDetection, findSubdetectionInfo, findSubDetectionInfo, getLoadedSubDetectionsCount, getPresentSubDetections, getSubDetection, getSubdetectionInfo, getSubDetectionInfo, getSubDetections, getSubDetectionsCount, getSubdetectionsRemoved, getSubDetectionSyncronisation, isAllowSubdetectionSharing, removeAllSubDetections, removeSubDetection, replaceSubDetection, sortSubDetections
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, 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
-
Field Details
-
STATUS_OPEN
public static final int STATUS_OPEN- See Also:
-
STATUS_CLOSED
public static final int STATUS_CLOSED- See Also:
-
-
Constructor Details
-
GroupDetection
-
GroupDetection
public GroupDetection(long timeMilliseconds, int channelBitmap, long startSample, long duration) Note that if using this constructor, the sequence map will have to be set explicitly by the calling class- Parameters:
timeMilliseconds
-channelBitmap
-startSample
-duration
-
-
-
Method Details
-
makeLocalisation
public void makeLocalisation() -
addSubDetection
Description copied from class:SuperDetection
Add a sub detection to the sub detection list.- Overrides:
addSubDetection
in classSuperDetection<T extends PamDataUnit>
- Parameters:
subDetection
- - the sub detection to add.- Returns:
- - the total number of sub detections now in the list. .
-
getStatus
public int getStatus() -
setStatus
public void setStatus(int status) -
getEventId
public int getEventId() -
setEventId
public void setEventId(int eventId) -
getPredictedBearing
-
getGroupDetectionLocalisation
Get the- Returns:
-
addFitData
@Deprecated public void addFitData(int iSide, GpsData originLatLong, LatLong detectionLatLong, double bearing, double range, double referenceHeading, double perpendicularError, double parallelError, double referenceHeading2) Deprecated. -
setEventEndTime
public void setEventEndTime(long eventEndTime) -
getEventEndTime
public long getEventEndTime()
-