OpenMS
BiGaussFitter1D.h
Go to the documentation of this file.
1 // Copyright (c) 2002-present, The OpenMS Team -- 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 
14 
15 
16 namespace OpenMS
17 {
23  class OPENMS_DLLAPI BiGaussFitter1D :
24  public MaxLikeliFitter1D
25  {
26 public:
27 
30 
33 
35  ~BiGaussFitter1D() override;
36 
38  virtual BiGaussFitter1D & operator=(const BiGaussFitter1D & source);
39 
41  QualityType fit1d(const RawDataArrayType & range, std::unique_ptr<InterpolationModel>& model) override;
42 
43 protected:
44 
49 
50  void updateMembers_() override;
51  };
52 }
53 
BiGaussian distribution fitter (1-dim.) approximated using linear interpolation.
Definition: BiGaussFitter1D.h:25
Math::BasicStatistics statistics1_
statistics for first peak site
Definition: BiGaussFitter1D.h:46
Math::BasicStatistics statistics2_
statistics for second peak site
Definition: BiGaussFitter1D.h:48
QualityType fit1d(const RawDataArrayType &range, std::unique_ptr< InterpolationModel > &model) override
return interpolation model
virtual BiGaussFitter1D & operator=(const BiGaussFitter1D &source)
assignment operator
~BiGaussFitter1D() override
destructor
BiGaussFitter1D()
Default constructor.
void updateMembers_() override
This method is used to update extra member variables at the end of the setParameters() method.
BiGaussFitter1D(const BiGaussFitter1D &source)
copy constructor
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
Calculates some basic statistical parameters of a distribution: sum, mean, variance,...
Definition: BasicStatistics.h:43
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