public class DetectionTracker
extends java.lang.Object
Constructor and Description |
---|
DetectionTracker(int dataIndex,
NormalizedDataUnit ndu)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
duration() |
CurvePeakTracker |
ratioPeakTracker() |
CurvePeakTracker |
rawEnergyPeakTracker() |
long |
startSample() |
long |
startTime() |
void |
update(NormalizedDataUnit ndu)
This updates the detections duration, and both the Raw energy and Ratio peak trackers.
|
public DetectionTracker(int dataIndex, NormalizedDataUnit ndu)
dataIndex
- The index into the NormalizedDataUnit's data[] that is associated with this Tracker.ndu
- The first data update.public void update(NormalizedDataUnit ndu)
ndu
- The data describing this update.public long startTime()
public long duration()
public CurvePeakTracker rawEnergyPeakTracker()
public CurvePeakTracker ratioPeakTracker()
public long startSample()