11#include <OpenMS/config.h>
81 static std::vector<CoIsolated>
detect(
const MSSpectrum& ms1,
double window_lower,
double window_upper,
82 double selected_mz,
int min_charge,
int max_charge,
double tol_da,
83 double max_kl,
Size max_n);
103 double max_kl,
Size max_n);
Finds precursors co-isolated with the selected one in the isolation window of an MS2 spectrum.
Definition CoIsolationDetector.h:38
static std::vector< CoIsolated > detect(const MSSpectrum &ms1, double window_lower, double window_upper, double selected_mz, int min_charge, int max_charge, double tol_da, double max_kl, Size max_n)
Co-isolated precursors in the isolation window [window_lower, window_upper] of ms1.
static const std::string META_MZ
meta value of an MS2 spectrum: the monoisotopic m/z of its co-isolated precursors (DoubleList,...
Definition CoIsolationDetector.h:49
static double isotopeKL(const MSSpectrum &ms1, double mono_mz, int charge, double tol_da, Size n_isotopes=4)
Divergence of the isotope envelope at mono_mz from averagine.
static const std::string META_CHARGE
meta value of an MS2 spectrum: the charges of its co-isolated precursors (IntList,...
Definition CoIsolationDetector.h:51
static Size annotate(PeakMap &exp, int min_charge, int max_charge, double tolerance, bool tolerance_ppm, double max_kl, Size max_n)
Annotate each MS2 spectrum of exp with the precursors co-isolated with its first precursor.
a co-isolated precursor
Definition CoIsolationDetector.h:42
In-Memory representation of a mass spectrometry run.
Definition MSExperiment.h:49
The representation of a 1D spectrum.
Definition MSSpectrum.h:45
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition Types.h:97
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19