clickDetector
Class ClickTrainDetection
java.lang.Object
PamguardMVC.PamDataUnit
PamDetection.AcousticDataUnit
PamDetection.PamDetection<t,PamDetection>
Localiser.GroupDetection<ClickDetection>
clickDetector.ClickGroupDetection
clickDetector.ClickTrainDetection
- All Implemented Interfaces:
- java.lang.Comparable<PamDataUnit>
public class ClickTrainDetection
- extends ClickGroupDetection
| Methods inherited from class Localiser.GroupDetection |
addFitData, addSubDetection, clearFitData, getBearing, getErrorReferenceAngle, getEventId, getGroupDetectionLocalisation, getLatLong, getNumLatLong, getOriginLatLong, getParallelError, getPerpendiculaError, getPredictedBearing, getRange, getReferenceChannels, getReferenceHeading, getStatus, isHasFit, setBearing, setErrorReferenceAngle, setEventId, setFitData, setLatLong, setNumLatLong, setOriginLatLong, setParallelError, setPerpendicularError, setRange, setReferenceChannels, setReferenceHeading, setStatus |
| 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 |
clickControl
ClickControl clickControl
STATUS_STARTING
public static final int STATUS_STARTING
- See Also:
- Constant Field Values
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
STATUS_BINME
public static final int STATUS_BINME
- See Also:
- Constant Field Values
trainStatus
private int trainStatus
minAngle
private double minAngle
maxAngle
private double maxAngle
runningICI
double runningICI
lastClickTime
long lastClickTime
firstClickAngle
double firstClickAngle
lastFittedAngle
double lastFittedAngle
lastFittedUnitIndex
int lastFittedUnitIndex
clickDetector
ClickDetector clickDetector
lastClick
private ClickDetection lastClick
globalEventId
private static int globalEventId
trainId
private int trainId
shouldPlot
private boolean shouldPlot
ClickTrainDetection
ClickTrainDetection(ClickControl clickControl,
ClickDetection click)
testClick
double testClick(ClickDetection click)
getICI
double getICI(ClickDetection newClick)
getICI
double getICI(ClickDetection secondClick,
ClickDetection firstClick)
expectedAngle
double expectedAngle(ClickDetection click,
int side)
addClick
boolean addClick(ClickDetection click)
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
public ClickDetection getLastClick()
isShouldPlot
public boolean isShouldPlot()
setShouldPlot
public void setShouldPlot(boolean shouldPlot)