OpenMS
ExtendedIsotopeFitter1D.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 ExtendedIsotopeFitter1D :
21  public MaxLikeliFitter1D
22  {
23 public:
24 
27 
30 
33 
36 
38  static Fitter1D * create()
39  {
40  return new ExtendedIsotopeFitter1D();
41  }
42 
44  static const String getProductName()
45  {
46  return "ExtendedIsotopeFitter1D";
47  }
48 
50  QualityType fit1d(const RawDataArrayType & range, std::unique_ptr<InterpolationModel>& model) override;
51 
52 protected:
53 
62 
63  void updateMembers_() override;
64  };
65 }
66 
Extended isotope distribution fitter (1-dim.) approximated using linear interpolation.
Definition: ExtendedIsotopeFitter1D.h:22
static Fitter1D * create()
create new ExtendedIsotopeFitter1D object (function needed by Factory)
Definition: ExtendedIsotopeFitter1D.h:38
CoordinateType isotope_stdev_
standard derivation in isotope
Definition: ExtendedIsotopeFitter1D.h:57
CoordinateType monoisotopic_mz_
monoisotopic mass
Definition: ExtendedIsotopeFitter1D.h:59
ExtendedIsotopeFitter1D(const ExtendedIsotopeFitter1D &source)
copy constructor
QualityType fit1d(const RawDataArrayType &range, std::unique_ptr< InterpolationModel > &model) override
return interpolation model
virtual ExtendedIsotopeFitter1D & operator=(const ExtendedIsotopeFitter1D &source)
assignment operator
void updateMembers_() override
This method is used to update extra member variables at the end of the setParameters() method.
~ExtendedIsotopeFitter1D() override
destructor
CoordinateType charge_
isotope charge
Definition: ExtendedIsotopeFitter1D.h:55
Int max_isotope_
maximum isotopic rank to be considered
Definition: ExtendedIsotopeFitter1D.h:61
ExtendedIsotopeFitter1D()
Default constructor.
static const String getProductName()
name of the model (needed by Factory)
Definition: ExtendedIsotopeFitter1D.h:44
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
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