GaussFitter#

class pyopenms.GaussFitter#

Bases: object

Cython implementation of _GaussFitter

Original C++ documentation is available here

__init__(self) None#

Implements a fitter for Gaussian functions

Methods

__init__(self)

Implements a fitter for Gaussian functions

fit(self, points)

Fits a Gaussian distribution to the given data points

setInitialParameters(self, result)

Sets the initial parameters used by the fit method as initial guess for the Gaussian

fit(self, points: '_np.ndarray[Any, _np.dtype[_np.float32]]') GaussFitResult#

Fits a Gaussian distribution to the given data points

setInitialParameters(self, result: GaussFitResult) None#

Sets the initial parameters used by the fit method as initial guess for the Gaussian