OpenMS
Loading...
Searching...
No Matches
BiGaussModel.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
14
15namespace OpenMS
16{
25 class OPENMS_DLLAPI BiGaussModel :
27 {
28public:
30
33
35 BiGaussModel(const BiGaussModel & source);
36
38 ~BiGaussModel() override;
39
41 virtual BiGaussModel & operator=(const BiGaussModel & source);
42
48 void setOffset(CoordinateType offset) override;
49
51 void setSamples() override;
52
54 CoordinateType getCenter() const override;
55
56protected:
61
62 void updateMembers_() override;
63 };
64}
65
Definition BiGaussModel.h:27
CoordinateType min_
Definition BiGaussModel.h:57
CoordinateType max_
Definition BiGaussModel.h:58
Math::BasicStatistics statistics1_
Definition BiGaussModel.h:59
void setOffset(CoordinateType offset) override
set the offset of the model
BiGaussModel()
Default constructor.
Math::BasicStatistics statistics2_
Definition BiGaussModel.h:60
InterpolationModel::CoordinateType CoordinateType
Definition BiGaussModel.h:29
void setSamples() override
set sample/supporting points of interpolation
virtual BiGaussModel & operator=(const BiGaussModel &source)
assignment operator
~BiGaussModel() override
destructor
CoordinateType getCenter() const override
get the center of the BiGaussian model i.e. the position of the maximum
void updateMembers_() override
This method is used to update extra member variables at the end of the setParameters() method.
BiGaussModel(const BiGaussModel &source)
copy constructor
Abstract class for 1D-models that are approximated using linear interpolation.
Definition InterpolationModel.h:30
double CoordinateType
Definition InterpolationModel.h:35
Calculates some basic statistical parameters of a distribution: sum, mean, variance,...
Definition BasicStatistics.h:43
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19