public interface MsSpectrum
Modifier and Type | Method and Description |
---|---|
default float[] |
getIntensityValues()
Returns the intensity values of this spectrum.
|
float[] |
getIntensityValues(float[] array)
Returns the intensity values of this spectrum.
|
com.google.common.collect.Range<Double> |
getMzRange()
Returns the range of m/z values for the current spectrum.
|
MzTolerance |
getMzTolerance()
Returns an object that implements the MzTolerance interface.
|
default double[] |
getMzValues()
Returns the m/z values of this spectrum.
|
double[] |
getMzValues(double[] array)
Returns the m/z values of this spectrum.
|
Integer |
getNumberOfDataPoints()
getNumberOfDataPoints.
|
MsSpectrumType |
getSpectrumType()
Returns the type of this mass spectrum.
|
Float |
getTIC()
Returns the sum of intensities of all data points (total ion current or TIC).
|
@Nonnull MsSpectrumType getSpectrumType()
@Nonnull Integer getNumberOfDataPoints()
getNumberOfDataPoints.
Integer
object.@Nonnull default double[] getMzValues()
Returns the m/z values of this spectrum. Note: this method may need to read data from disk, therefore it may be quite slow.
@Nonnull double[] getMzValues(double[] array)
Returns the m/z values of this spectrum. Note: this method may need to read data from disk, therefore it may be quite slow.
@Nonnull default float[] getIntensityValues()
Returns the intensity values of this spectrum. Note: this method may need to read data from disk, therefore it may be quite slow.
@Nonnull float[] getIntensityValues(float[] array)
Returns the intensity values of this spectrum. Note: this method may need to read data from disk, therefore it may be quite slow.
@Nonnull Float getTIC()
@Nullable com.google.common.collect.Range<Double> getMzRange()
@Nullable MzTolerance getMzTolerance()
Copyright © 2019. All rights reserved.