public class PpmTolerance extends Tolerance
Tolerance.Location| Constructor and Description |
|---|
PpmTolerance(double errorPPM) |
| Modifier and Type | Method and Description |
|---|---|
Tolerance.Location |
check(double expected,
double actual) |
double |
getError(double expectedMr,
double actualMr) |
double |
getMax(double mz) |
double |
getMin(double mz) |
boolean |
withinTolerance(double expected,
double actual)
Returns true if the
actual is within tolerance of the expected |
public boolean withinTolerance(double expected,
double actual)
Toleranceactual is within tolerance of the expectedwithinTolerance in class Toleranceexpected - the expected m/zactual - the actual m/zactual is within tolerance of the expectedpublic double getError(double expectedMr,
double actualMr)
public Tolerance.Location check(double expected, double actual)
Copyright © 2016. All Rights Reserved.