35 #ifndef OPENMS_SIMULATION_EGHMODEL_H 36 #define OPENMS_SIMULATION_EGHMODEL_H 41 #include <boost/math/tr1.hpp> 90 void setOffset(CoordinateType offset);
96 CoordinateType getCenter()
const;
113 void updateMembers_();
116 void computeBoundaries_();
124 inline void evaluateEGH_(CoordinateType & rt, CoordinateType & egh_value)
126 CoordinateType denominator = sigma_square_2_ + tau_ * rt;
131 egh_value = height_ * exp(
132 (-1 * rt * rt) / denominator
145 #endif // OPENMS_SIMULATION_ELUTIONMODEL_H A more convenient string class.
Definition: String.h:57
std::vector< value_type > container_type
Definition: LinearInterpolation.h:85
static const String getProductName()
name of the model (needed by Factory)
Definition: EGHModel.h:84
CoordinateType sigma_square_
Definition: EGHModel.h:109
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
CoordinateType tau_
Definition: EGHModel.h:108
CoordinateType A_
Definition: EGHModel.h:105
CoordinateType max_
Definition: EGHModel.h:100
LinearInterpolation::container_type ContainerType
Definition: EGHModel.h:63
CoordinateType sigma_square_2_
Definition: EGHModel.h:110
Abstract class for 1D-models that are approximated using linear interpolation.
Definition: InterpolationModel.h:55
CoordinateType B_
Definition: EGHModel.h:106
Math::BasicStatistics< CoordinateType > BasicStatistics
Definition: EGHModel.h:62
CoordinateType height_
Definition: EGHModel.h:102
Exponential-Gaussian hybrid distribution model for elution profiles.
Definition: EGHModel.h:56
BasicStatistics statistics_
Definition: EGHModel.h:101
InterpolationModel::CoordinateType CoordinateType
Definition: EGHModel.h:61
static BaseModel< 1 > * create()
create new ElutionModel object (needed by Factory)
Definition: EGHModel.h:78
void evaluateEGH_(CoordinateType &rt, CoordinateType &egh_value)
Evaluate the EGH function at position rt.
Definition: EGHModel.h:124
CoordinateType apex_rt_
Definition: EGHModel.h:103
CoordinateType min_
Definition: EGHModel.h:99