Package clickDetector
Class ClickTrainDetection
- All Implemented Interfaces:
 Comparable<PamDataUnit>,PamDetection,AcousticDataUnit
Automatic click train's from the click train detector.
- Author:
 - dg50
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class PamguardMVC.PamDataUnit
absBlockIndex, localisation - 
Method Summary
Modifier and TypeMethodDescriptionintaddSubDetection(ClickDetection click) static doublegetClickAngle(ClickDetection click) Get the most useful angle to use in a click.longdoubledoubleintintbooleanvoidsetShouldPlot(boolean shouldPlot) voidsetTrainId(int trainId) voidsetTrainStatus(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, setSuspectEventTimesMethods inherited from class Localiser.detectionGroupLocaliser.GroupDetection
addFitData, addSubDetection, getEventEndTime, getEventId, getGroupDetectionLocalisation, getPredictedBearing, getStatus, makeLocalisation, setEventEndTime, setEventId, setStatusMethods 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, sortSubDetectionsMethods 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, 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 
- 
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)  
 -