Package clickDetector
Class ClickTrainDetection
java.lang.Object
PamguardMVC.PamDataUnit<T,SuperDetection>
PamguardMVC.superdet.SuperDetection<T>
Localiser.detectionGroupLocaliser.GroupDetection<PamDataUnit>
clickDetector.offlineFuncs.OfflineEventDataUnit
clickDetector.ClickTrainDetection
- All Implemented Interfaces:
Comparable<PamDataUnit>
,PamDetection
,AcousticDataUnit
Automatic click train's from the click train detector.
- Author:
- dg50
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionint
addSubDetection
(ClickDetection click) static double
getClickAngle
(ClickDetection click) Get the most useful angle to use in a click.long
double
double
int
int
boolean
void
setShouldPlot
(boolean shouldPlot) void
setTrainId
(int trainId) void
setTrainStatus
(int trainStatus) Methods inherited from class clickDetector.offlineFuncs.OfflineEventDataUnit
getBestNumber, getColourIndex, getComment, getEventNumber, getEventType, getMaxNumber, getMinNumber, getNClicks, isSuspectEventTimes, notifyUpdate, setBestNumber, setColourIndex, setComment, setEventType, setMaxNumber, setMinNumber, setSuspectEventTimes
Methods inherited from class Localiser.detectionGroupLocaliser.GroupDetection
addFitData, addSubDetection, getEventEndTime, getEventId, getGroupDetectionLocalisation, getPredictedBearing, getStatus, makeLocalisation, setEventEndTime, setEventId, setStatus
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, 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_STARTING
public static final int STATUS_STARTING- See Also:
-
STATUS_OPEN
public static final int STATUS_OPEN- See Also:
-
STATUS_CLOSED
public static final int STATUS_CLOSED- See Also:
-
STATUS_BINME
public static final int STATUS_BINME- See Also:
-
-
Method Details
-
getClickAngle
Get the most useful angle to use in a click.- Parameters:
click
-- Returns:
- angle in radians.
-
addSubDetection
-
getTrainStatus
public int getTrainStatus() -
setTrainStatus
public void setTrainStatus(int trainStatus) -
getTrainId
public int getTrainId() -
setTrainId
public void setTrainId(int trainId) -
getMaxAngle
public double getMaxAngle() -
getMinAngle
public double getMinAngle() -
getLastClickTime
public long getLastClickTime() -
getLastClick
-
isShouldPlot
public boolean isShouldPlot() -
setShouldPlot
public void setShouldPlot(boolean shouldPlot)
-