OpenMS
2.4.0
|
Determine distance between two spectra. More...
#include <OpenMS/ANALYSIS/TARGETED/InclusionExclusionList.h>
Public Member Functions | |
WindowDistance_ (const double rt_bridge, const double mz_max, const bool mz_as_ppm) | |
double | operator() (const IEWindow &first, const IEWindow &second) const |
Protected Attributes | |
double | rt_bridge_ |
max rt distance between two windows in order to be considered overlapping More... | |
double | mz_max_ |
max m/z distance between two ... More... | |
bool | mz_as_ppm_ |
m/z distance unit More... | |
Determine distance between two spectra.
Distance is determined as
(d_rt/rt_max_ + d_mz/mz_max_) / 2
|
inline |
|
protected |
m/z distance unit
|
protected |
max m/z distance between two ...
|
protected |
max rt distance between two windows in order to be considered overlapping