Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions | Protected Attributes | List of all members
InclusionExclusionList::WindowDistance_ Class Reference

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...
 

Detailed Description

Determine distance between two spectra.

Distance is determined as

(d_rt/rt_max_ + d_mz/mz_max_) / 2

Constructor & Destructor Documentation

◆ WindowDistance_()

WindowDistance_ ( const double  rt_bridge,
const double  mz_max,
const bool  mz_as_ppm 
)
inline

Member Function Documentation

◆ operator()()

double operator() ( const IEWindow first,
const IEWindow second 
) const
inline

Member Data Documentation

◆ mz_as_ppm_

bool mz_as_ppm_
protected

m/z distance unit

◆ mz_max_

double mz_max_
protected

max m/z distance between two ...

◆ rt_bridge_

double rt_bridge_
protected

max rt distance between two windows in order to be considered overlapping


OpenMS / TOPP release 2.3.0 Documentation generated on Tue Jan 9 2018 18:22:09 using doxygen 1.8.13