OpenMS
IsotopeFitter1D.h
Go to the documentation of this file.
1 // Copyright (c) 2002-2023, 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 #pragma once
10 
12 
13 namespace OpenMS
14 {
20  class OPENMS_DLLAPI IsotopeFitter1D :
21  public MaxLikeliFitter1D
22  {
23 public:
24 
27 
30 
32  ~IsotopeFitter1D() override;
33 
35  virtual IsotopeFitter1D & operator=(const IsotopeFitter1D & source);
36 
38  static Fitter1D * create()
39  {
40  return new IsotopeFitter1D();
41  }
42 
44  static const String getProductName()
45  {
46  return "IsotopeFitter1D";
47  }
48 
50  QualityType fit1d(const RawDataArrayType & range, std::unique_ptr<InterpolationModel>& model) override;
51 
52 protected:
53 
60 
61  void updateMembers_() override;
62  };
63 }
64 
Abstract base class for all 1D-dimensional model fitter.
Definition: Fitter1D.h:34
std::vector< PeakType > RawDataArrayType
Peak type data container type using for the temporary storage of the input data.
Definition: Fitter1D.h:47
Feature::QualityType QualityType
Quality of a feature.
Definition: Fitter1D.h:43
Feature::CoordinateType CoordinateType
Single coordinate.
Definition: Fitter1D.h:41
Isotope distribution fitter (1-dim.) approximated using linear interpolation.
Definition: IsotopeFitter1D.h:22
static Fitter1D * create()
create new IsotopeFitter1D object (function needed by Factory)
Definition: IsotopeFitter1D.h:38
CoordinateType isotope_stdev_
standard derivation in isotope
Definition: IsotopeFitter1D.h:57
IsotopeFitter1D(const IsotopeFitter1D &source)
copy constructor
QualityType fit1d(const RawDataArrayType &range, std::unique_ptr< InterpolationModel > &model) override
return interpolation model
IsotopeFitter1D()
Default constructor.
~IsotopeFitter1D() override
destructor
void updateMembers_() override
This method is used to update extra member variables at the end of the setParameters() method.
CoordinateType charge_
isotope charge
Definition: IsotopeFitter1D.h:55
Int max_isotope_
maximum isotopic rank to be considered
Definition: IsotopeFitter1D.h:59
virtual IsotopeFitter1D & operator=(const IsotopeFitter1D &source)
assignment operator
static const String getProductName()
name of the model (needed by Factory)
Definition: IsotopeFitter1D.h:44
Abstract base class for all 1D-model fitters using maximum likelihood optimization.
Definition: MaxLikeliFitter1D.h:21
A more convenient string class.
Definition: String.h:34
int Int
Signed integer type.
Definition: Types.h:76
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22