OpenMS
IsotopeWaveletConstants.h
Go to the documentation of this file.
1 // Copyright (c) 2002-2023, 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: Rene Hussong$
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
11 namespace OpenMS
12 {
13  namespace Constants
14  {
15 #undef OPENMS_DEBUG_ISOTOPE_WAVELET
16 
17  const unsigned int DEFAULT_NUM_OF_INTERPOLATION_POINTS = 3;
18 
19  const double MASS_EPSILON = 1e-4f;
20 
21  const double MARR_WAVELET_CUTOFF = 4.f;
22 
23  const double PEPTIDE_MASS_RULE_FACTOR = 0.000507f;
26 
27  //exact
28  const double IW_NEUTRON_MASS = 1.00866491578f;
29  const double IW_HALF_NEUTRON_MASS = 0.5043325f;
30  const double IW_QUARTER_NEUTRON_MASS = 0.252166228f;
31  const double WAVELET_PERIODICITY = 6.229209734f;
32 
33  //according to Horn et al. (2000)
34  /*const double IW_NEUTRON_MASS = 1.00235f;
35  const double IW_HALF_NEUTRON_MASS = 0.501175f;
36  const double IW_QUARTER_NEUTRON_MASS = 0.2505875f;
37  const double WAVELET_PERIODICITY = 6.268454439f;*/
38 
39 
40  const double ONEOLOG2E = 0.6931471806f;
41 
42  const double IW_PROTON_MASS = 1.00727646688f;
43 
44  //Linear Fit (standard)
45  const double LAMBDA_L_0 = 0.120398590399013419f;
46  const double LAMBDA_L_1 = 0.635926795694698589e-3f;
47 
48  const double CUT_LAMBDA_Q_0_A = 1.9498e+00f;
49  const double CUT_LAMBDA_Q_0_B = 2.4244e-03f;
50  const double CUT_LAMBDA_Q_0_C = -2.4183e-07f;
51  const double CUT_LAMBDA_Q_1_A = 3.6870e+00f;
52  const double CUT_LAMBDA_Q_1_B = 1.1561e-03f;
53  const double CUT_LAMBDA_Q_1_C = -1.0329e-08f;
54  const double CUT_LAMBDA_L_2_A = 5.7661e+00f;
55  const double CUT_LAMBDA_L_2_B = 8.6301e-04f;
56  const double CUT_LAMBDA_BREAK_0_1 = 2739.4f;
57  const double CUT_LAMBDA_BREAK_1_2 = 1.4187e+04f;
58 
59  const int SHIFT23 = (1 << 23);
60  const double SHIFT23_00 = (1.0 / (1 << 23));
61  const double LOG_CONST = 0.346607f;
62  const double POW_CONST = 0.33971f;
63  }
64 }
65 
const double IW_PROTON_MASS
Definition: IsotopeWaveletConstants.h:42
const double ONEOLOG2E
Definition: IsotopeWaveletConstants.h:40
const double LOG_CONST
Definition: IsotopeWaveletConstants.h:61
const double PEPTIDE_MASS_RULE_FACTOR
Definition: IsotopeWaveletConstants.h:23
const double CUT_LAMBDA_Q_0_A
Definition: IsotopeWaveletConstants.h:48
const double IW_NEUTRON_MASS
Definition: IsotopeWaveletConstants.h:28
const double CUT_LAMBDA_BREAK_1_2
Definition: IsotopeWaveletConstants.h:57
const double CUT_LAMBDA_L_2_A
Definition: IsotopeWaveletConstants.h:54
const double MASS_EPSILON
Definition: IsotopeWaveletConstants.h:19
const double CUT_LAMBDA_BREAK_0_1
Definition: IsotopeWaveletConstants.h:56
const double CUT_LAMBDA_L_2_B
Definition: IsotopeWaveletConstants.h:55
const double CUT_LAMBDA_Q_0_C
Definition: IsotopeWaveletConstants.h:50
const double LAMBDA_L_1
Definition: IsotopeWaveletConstants.h:46
const double WAVELET_PERIODICITY
Definition: IsotopeWaveletConstants.h:31
const double CUT_LAMBDA_Q_0_B
Definition: IsotopeWaveletConstants.h:49
const unsigned int DEFAULT_NUM_OF_INTERPOLATION_POINTS
Definition: IsotopeWaveletConstants.h:17
const double CUT_LAMBDA_Q_1_B
Definition: IsotopeWaveletConstants.h:52
const double PEPTIDE_MASS_RULE_THEO_PPM_BOUND
Definition: IsotopeWaveletConstants.h:25
const double LAMBDA_L_0
Definition: IsotopeWaveletConstants.h:45
const double PEPTIDE_MASS_RULE_BOUND
Definition: IsotopeWaveletConstants.h:24
const int SHIFT23
Definition: IsotopeWaveletConstants.h:59
const double IW_HALF_NEUTRON_MASS
Definition: IsotopeWaveletConstants.h:29
const double MARR_WAVELET_CUTOFF
Definition: IsotopeWaveletConstants.h:21
const double CUT_LAMBDA_Q_1_A
Definition: IsotopeWaveletConstants.h:51
const double CUT_LAMBDA_Q_1_C
Definition: IsotopeWaveletConstants.h:53
const double IW_QUARTER_NEUTRON_MASS
Definition: IsotopeWaveletConstants.h:30
const double SHIFT23_00
Definition: IsotopeWaveletConstants.h:60
const double POW_CONST
Definition: IsotopeWaveletConstants.h:62
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22