OpenMS
GaussFitter1D.h
Go to the documentation of this file.
1 // Copyright (c) 2002-present, OpenMS Inc. -- EKU Tuebingen, ETH Zurich, and FU Berlin
2 // SPDX-License-Identifier: BSD-3-Clause
3 //
4 // --------------------------------------------------------------------------
5 // $Maintainer: Timo Sachsenberg $
6 // $Authors: $
7 // --------------------------------------------------------------------------
8 
9 
10 #pragma once
11 
13 
14 namespace OpenMS
15 {
21  class OPENMS_DLLAPI GaussFitter1D :
22  public MaxLikeliFitter1D
23  {
24 public:
25 
28 
30  GaussFitter1D(const GaussFitter1D & source);
31 
33  ~GaussFitter1D() override;
34 
36  virtual GaussFitter1D & operator=(const GaussFitter1D & source);
37 
39  QualityType fit1d(const RawDataArrayType & range, std::unique_ptr<InterpolationModel>& model) override;
40 
41 protected:
42 
43  void updateMembers_() override;
44  };
45 }
46 
std::vector< PeakType > RawDataArrayType
Peak type data container type using for the temporary storage of the input data.
Definition: Fitter1D.h:43
Feature::QualityType QualityType
Quality of a feature.
Definition: Fitter1D.h:39
Gaussian distribution fitter (1-dim.) approximated using linear interpolation.
Definition: GaussFitter1D.h:23
virtual GaussFitter1D & operator=(const GaussFitter1D &source)
assignment operator
GaussFitter1D()
Default constructor.
~GaussFitter1D() override
destructor
GaussFitter1D(const GaussFitter1D &source)
copy constructor
QualityType fit1d(const RawDataArrayType &range, std::unique_ptr< InterpolationModel > &model) override
return interpolation model
void updateMembers_() override
This method is used to update extra member variables at the end of the setParameters() method.
Abstract base class for all 1D-model fitters using maximum likelihood optimization.
Definition: MaxLikeliFitter1D.h:21
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19