OpenMS
Deisotoper.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 namespace OpenMS
16 {
17 
18 class MSSpectrum;
19 
20 class OPENMS_DLLAPI Deisotoper
21 {
22  public:
23 
62  static void deisotopeWithAveragineModel(MSSpectrum& spectrum,
63  double fragment_tolerance,
64  bool fragment_unit_ppm,
65  int number_of_final_peaks = 5000,
66  int min_charge = 1,
67  int max_charge = 3,
68  bool keep_only_deisotoped = false,
69  unsigned int min_isopeaks = 2,
70  unsigned int max_isopeaks = 10,
71  bool make_single_charged = true,
72  bool annotate_charge = false,
73  bool annotate_iso_peak_count = false,
74  bool add_up_intensity = false);
75 
117  static void deisotopeAndSingleCharge(MSSpectrum& spectrum,
118  double fragment_tolerance,
119  bool fragment_unit_ppm,
120  int min_charge = 1,
121  int max_charge = 3,
122  bool keep_only_deisotoped = false,
123  unsigned int min_isopeaks = 3,
124  unsigned int max_isopeaks = 10,
125  bool make_single_charged = true,
126  bool annotate_charge = false,
127  bool annotate_iso_peak_count = false,
128  bool use_decreasing_model = true,
129  unsigned int start_intensity_check = 2,
130  bool add_up_intensity = false,
131  bool annotate_features = false);
132 };
133 
134 }
Definition: Deisotoper.h:21
static void deisotopeWithAveragineModel(MSSpectrum &spectrum, double fragment_tolerance, bool fragment_unit_ppm, int number_of_final_peaks=5000, int min_charge=1, int max_charge=3, bool keep_only_deisotoped=false, unsigned int min_isopeaks=2, unsigned int max_isopeaks=10, bool make_single_charged=true, bool annotate_charge=false, bool annotate_iso_peak_count=false, bool add_up_intensity=false)
Detect isotopic clusters in a mass spectrum.
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)
Detect isotopic clusters in a mass spectrum.
The representation of a 1D spectrum.
Definition: MSSpectrum.h:44
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19