64 static void destroy();
89 static double getValueByLambda(
const double lambda,
const double tz1);
103 static double getValueByLambdaExtrapol(
const double lambda,
const double tz1);
105 static double getValueByLambdaExact(
const double lambda,
const double tz1);
117 max_charge_ = max_charge;
135 return inv_table_steps_;
141 inv_table_steps_ = 1. / table_steps;
142 table_steps_ = table_steps;
146 static double getLambdaL(
const double m);
159 return gamma_table_max_index_;
165 return exp_table_max_index_;
170 static float myPow(
float a,
float b);
172 static UInt getMzPeakCutOffAtMonoPos(
const double mass,
const UInt z);
174 static UInt getNumPeakCutOff(
const double mass,
const UInt z);
176 static UInt getNumPeakCutOff(
const double mz);
205 static void preComputeExpensiveFunctions_(
const double max_m);
210 static void computeIsotopeDistributionSize_(
const double max_m);
217 static float myPow2_(
float i);
223 static float myLog2_(
float i);
float f
Definition: IsotopeWavelet.h:229
Isotope pattern generator for coarse isotope distributions.
Definition: CoarseIsotopePatternGenerator.h:88
static std::vector< double > gamma_table_
Definition: IsotopeWavelet.h:240
static Size gamma_table_max_index_
Definition: IsotopeWavelet.h:253
const double IW_PROTON_MASS
Definition: IsotopeWaveletConstants.h:68
static std::vector< double > exp_table_
Definition: IsotopeWavelet.h:244
static void setMaxCharge(const UInt max_charge)
Sets the max_charge parameter.
Definition: IsotopeWavelet.h:115
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
Definition: IsotopeDistribution.h:72
Int i
Definition: IsotopeWavelet.h:228
std::vector< MassAbundance > ContainerType
Definition: IsotopeDistribution.h:80
static std::vector< double > gamma_table_new_
Definition: IsotopeWavelet.h:241
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
static double inv_table_steps_
Definition: IsotopeWavelet.h:237
Implements the isotope wavelet function.
Definition: IsotopeWavelet.h:50
static IsotopeWavelet * me_
Definition: IsotopeWavelet.h:182
static CoarseIsotopePatternGenerator solver_
Definition: IsotopeWavelet.h:250
static Size getExpTableMaxIndex()
Returns the largest possible index for the pre-sampled exp table.
Definition: IsotopeWavelet.h:163
static UInt getMaxCharge()
Returns the largest charge state we will consider.
Definition: IsotopeWavelet.h:109
static IsotopeWavelet * getInstance()
Definition: IsotopeWavelet.h:58
static void setTableSteps(const double table_steps)
Sets the table_steps parameter.
Definition: IsotopeWavelet.h:139
static double table_steps_
Definition: IsotopeWavelet.h:236
static Size exp_table_max_index_
Definition: IsotopeWavelet.h:254
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
static Size getGammaTableMaxIndex()
Returns the largest possible index for the pre-sampled gamma table.
Definition: IsotopeWavelet.h:157
Internal union for fast computation of the power function.
Definition: IsotopeWavelet.h:226
static UInt max_charge_
Definition: IsotopeWavelet.h:233
static double getInvTableSteps()
Returns the inv_table_steps_ parameter.
Definition: IsotopeWavelet.h:133
static double getTableSteps()
Returns the table_steps_ parameter.
Definition: IsotopeWavelet.h:124
int Int
Signed integer type.
Definition: Types.h:102
static double getValueByMass(const double t, const double m, const UInt z, const Int mode=+1)
Returns the value of the isotope wavelet at position t. Usually, you do not need to call this functio...
Definition: IsotopeWavelet.h:76
static IsotopeDistribution averagine_
Definition: IsotopeWavelet.h:251
static std::vector< double > sine_table_
Definition: IsotopeWavelet.h:247