public class ConstantDaTolerance extends Object implements MzTolerance
ConstantDaTolerance class.
Constructor and Description |
---|
ConstantDaTolerance(Double mzTolerance)
Constructor for ConstantDaTolerance.
|
Modifier and Type | Method and Description |
---|---|
Double |
getMzTolerance()
Getter for the field
mzTolerance . |
com.google.common.collect.Range<Double> |
getToleranceRange(Double mzValue)
Get a m/z tolerance range for a given m/z.
|
String |
toString() |
@Nonnull public Double getMzTolerance()
Getter for the field mzTolerance
.
Double
object.@Nonnull public com.google.common.collect.Range<Double> getToleranceRange(@Nonnull Double mzValue)
Get a m/z tolerance range for a given m/z.
Return the mass tolerance range that is constant vs. m/z.
getToleranceRange
in interface MzTolerance
mzValue
- a Double
object.Range
object.Copyright © 2019. All rights reserved.