GaussTraceFitter#

class pyopenms.GaussTraceFitter#

Bases: object

Cython implementation of _GaussTraceFitter

Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS_1_1GaussTraceFitter.html

__init__()#
  • Cython signature: void GaussTraceFitter() Fitter for RT profiles using a Gaussian background model

  • Cython signature: void GaussTraceFitter(GaussTraceFitter &)

Methods

__init__

  • Cython signature: void GaussTraceFitter()

checkMaximalRTSpan

Cython signature: bool checkMaximalRTSpan(double max_rt_span)

checkMinimalRTSpan

Cython signature: bool checkMinimalRTSpan(libcpp_pair[double,double] & rt_bounds, double min_rt_span)

computeTheoretical

Cython signature: double computeTheoretical(MassTrace & trace, size_t k)

fit

Cython signature: void fit(MassTraces & traces) Override important methods

getArea

Cython signature: double getArea() Returns area of the fitted gaussian model

getCenter

Cython signature: double getCenter() Returns center of the fitted gaussian model

getFWHM

Cython signature: double getFWHM() Returns FWHM of the fitted gaussian model

getGnuplotFormula

Cython signature: String getGnuplotFormula(MassTrace & trace, char function_name, double baseline, double rt_shift)

getHeight

Cython signature: double getHeight() Returns height of the fitted gaussian model

getLowerRTBound

Cython signature: double getLowerRTBound() Returns the lower RT bound

getSigma

Cython signature: double getSigma() Returns Sigma of the fitted gaussian model

getUpperRTBound

Cython signature: double getUpperRTBound() Returns the upper RT bound

getValue

Cython signature: double getValue(double rt) Returns value of the fitted gaussian model

checkMaximalRTSpan()#

Cython signature: bool checkMaximalRTSpan(double max_rt_span)

checkMinimalRTSpan()#

Cython signature: bool checkMinimalRTSpan(libcpp_pair[double,double] & rt_bounds, double min_rt_span)

computeTheoretical()#

Cython signature: double computeTheoretical(MassTrace & trace, size_t k)

fit()#

Cython signature: void fit(MassTraces & traces) Override important methods

getArea()#

Cython signature: double getArea() Returns area of the fitted gaussian model

getCenter()#

Cython signature: double getCenter() Returns center of the fitted gaussian model

getFWHM()#

Cython signature: double getFWHM() Returns FWHM of the fitted gaussian model

getGnuplotFormula()#

Cython signature: String getGnuplotFormula(MassTrace & trace, char function_name, double baseline, double rt_shift)

getHeight()#

Cython signature: double getHeight() Returns height of the fitted gaussian model

getLowerRTBound()#

Cython signature: double getLowerRTBound() Returns the lower RT bound

getSigma()#

Cython signature: double getSigma() Returns Sigma of the fitted gaussian model

getUpperRTBound()#

Cython signature: double getUpperRTBound() Returns the upper RT bound

getValue()#

Cython signature: double getValue(double rt) Returns value of the fitted gaussian model