Package gpl
Class DetectedPeak
java.lang.Object
gpl.DetectedPeak
- 
Constructor Summary
ConstructorsConstructorDescriptionDetectedPeak(FFTDataUnit fftDataUnit, double data, double[] wData, int peakBin)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddDeadPoint(double[] wData, FFTDataUnit fftDataUnit) Add a point that was below threshold.voidaddPoint(FFTDataUnit fftDataUnit, double data, double[] wData, int peakBin) Add a point that was above threshold.intlonglongGet the end sample, which is the start sample of the first FFT in the peak NOT a count of FFt's which is wrong when starts of files are skipped in AcquisitionintdoubleintintlonglongGet the start sample, which is the start sample of the first FFT in the peak NOT a count of FFt's which is wrong when starts of files are skipped in AcquisitionArrayList<double[]> voidCalled when peak is completed to remove any whitened data that were added right at the end 
- 
Constructor Details
- 
DetectedPeak
 
 - 
 - 
Method Details
- 
addPoint
Add a point that was above threshold.- Parameters:
 data-wData-peakBin-fftSlice-timeMilliseconds-
 - 
addDeadPoint
Add a point that was below threshold. Need to keep adding whitened data even if it's not above threshold- Parameters:
 wData-
 - 
removeDead
public void removeDead()Called when peak is completed to remove any whitened data that were added right at the end - 
getStartSample
public long getStartSample()Get the start sample, which is the start sample of the first FFT in the peak NOT a count of FFt's which is wrong when starts of files are skipped in Acquisition- Returns:
 - first sample of first FFT
 
 - 
getEndSample
public long getEndSample()Get the end sample, which is the start sample of the first FFT in the peak NOT a count of FFt's which is wrong when starts of files are skipped in Acquisition- Returns:
 - last sample of last FFT
 
 - 
getwDataList
- Returns:
 - the wDataList
 
 - 
getFFTList
- Returns:
 - List of FFT Data units in the peak
 
 - 
getStartBin
public int getStartBin()- Returns:
 - the startBin
 
 - 
getEndBin
public int getEndBin()- Returns:
 - the endBin
 
 - 
getMaxValue
public double getMaxValue()- Returns:
 - the maxValue
 
 - 
getStartMillis
public long getStartMillis()- Returns:
 - the startMillis
 
 - 
getEndMillis
public long getEndMillis()- Returns:
 - the endMillis
 
 - 
getMinFBin
public int getMinFBin()- Returns:
 - the minFBin
 
 - 
getMaxFBin
public int getMaxFBin()- Returns:
 - the maxFBin
 
 
 -