OpenMS
NuXLDeisotoper.h
Go to the documentation of this file.
1 // Copyright (c) 2002-present, The OpenMS Team -- EKU Tuebingen, ETH Zurich, and FU Berlin
2 // SPDX-License-Identifier: BSD-3-Clause
3 //
4 // --------------------------------------------------------------------------
5 // $Maintainer: Timo Sachsenberg $
6 // $Authors: Timo Sachsenberg $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
12 #include <OpenMS/CONCEPT/Types.h>
14 
15 #include <string.h>
16 
17 namespace OpenMS
18 {
19 
20 class MSSpectrum;
21 
28 class OPENMS_DLLAPI NuXLDeisotoper
29 {
30  public:
31 
75  static void deisotopeAndSingleCharge(MSSpectrum& spectrum,
76  double fragment_tolerance,
77  bool fragment_unit_ppm,
78  int min_charge = 1,
79  int max_charge = 3,
80  bool keep_only_deisotoped = false,
81  unsigned int min_isopeaks = 3,
82  unsigned int max_isopeaks = 10,
83  bool make_single_charged = true,
84  bool annotate_charge = false,
85  bool annotate_iso_peak_count = false,
86  bool use_decreasing_model = true,
87  unsigned int start_intensity_check = 2,
88  bool add_up_intensity = false,
89  bool annotate_features = false,
90  bool preserve_high_intensity_peaks = false,
91  double preserve_low_mz_peaks_threshold = -1e10);
92 };
93 
94 }
The representation of a 1D spectrum.
Definition: MSSpectrum.h:44
Deisotoping of nucleotide cross-link mass spectra.
Definition: NuXLDeisotoper.h:29
static void deisotopeAndSingleCharge(MSSpectrum &spectrum, double fragment_tolerance, bool fragment_unit_ppm, int min_charge=1, int max_charge=3, bool keep_only_deisotoped=false, unsigned int min_isopeaks=3, unsigned int max_isopeaks=10, bool make_single_charged=true, bool annotate_charge=false, bool annotate_iso_peak_count=false, bool use_decreasing_model=true, unsigned int start_intensity_check=2, bool add_up_intensity=false, bool annotate_features=false, bool preserve_high_intensity_peaks=false, double preserve_low_mz_peaks_threshold=-1e10)
Detect isotopic clusters in a mass spectrum.
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19