public interface ISpectrum extends Serializable
| Modifier and Type | Method and Description |
|---|---|
Integer |
findClosestMzIdx(double mz) |
Integer |
findMzIdxCeiling(double mz)
Finds the idx of MZ that is equal or greater than the provided one.
|
Integer |
findMzIdxFloor(double mz)
Finds the idx of MZ that is equal or less than the provided one.
|
int[] |
findMzIdxs(double mzLo,
double mzHi)
Finds indexes of MZs that are within a tolerance window (inclusive)
|
int[] |
findMzIdxsWithinPpm(double mz,
double ppm)
Finds indexes of MZs that are within a PPM tolerance window (inclusive)
|
double[] |
getIntensities()
Array of intensities.
|
double |
getMaxInt()
The highest intensity in the spectrumRef.
|
double |
getMaxIntMz()
The m/z value of the basepeak (i.e.
|
double |
getMaxMZ()
The highest m/z value in the spectrumRef.
|
double |
getMinInt()
The minimum intensity in the spectrumRef.
|
double |
getMinIntNonZero()
The minimum intensity in the spectrumRef, but greater than zero.
|
double |
getMinMZ()
The lowest m/z value in the spectrumRef.
|
double[] |
getMZs()
Array of m/z values.
|
double |
getSumInt()
The sum of all intensities.
|
double getMinMZ()
double getMaxMZ()
double getMinInt()
double getMinIntNonZero()
double getMaxInt()
double getMaxIntMz()
double getSumInt()
double[] getMZs()
double[] getIntensities()
Integer findMzIdxFloor(double mz)
mz - Integer findMzIdxCeiling(double mz)
mz - Integer findClosestMzIdx(double mz)
mz - int[] findMzIdxs(double mzLo,
double mzHi)
mzLo - low massmzHi - high massint[] findMzIdxsWithinPpm(double mz,
double ppm)
mz - ppm - in PPMCopyright © 2017. All rights reserved.