| Modifier and Type | Method and Description |
|---|---|
static double |
amu2ppm(double mz,
double amuDelta)
Given an absolute m/z difference (
amu parameter), find out how much ppm that is. |
static boolean |
isWithinPpm(double mz1,
double mz2,
double ppm)
Check if the 2nd m/z value is within some PPM distance from the 1st one.
|
static double |
ppm2amu(double mz,
double ppmDelta)
Given an m/z value, calculates what a certain ppm accuracy converts to in terms of m/z.
|
public static double ppm2amu(double mz,
double ppmDelta)
mz - base m/z at which the calculation is doneppmDelta - ppm difference, which is to be converted to amu.public static double amu2ppm(double mz,
double amuDelta)
amu parameter), find out how much ppm that is.mz - base m/z at which the calculation is done.amuDelta - absolute m/z difference, which is to be converted to ppm.public static boolean isWithinPpm(double mz1,
double mz2,
double ppm)
mz1 - PPM tolerance will be calculated relative to this valuemz2 - the value to check for being within some PPM rangeppm - Copyright © 2017. All rights reserved.