OpenMS
FastLowessSmoothing.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: Hannes Roest $
6 // $Authors: Hannes Roest $
7 // --------------------------------------------------------------------------
8 
9 
10 #pragma once
11 
12 #include <OpenMS/CONCEPT/Macros.h>
13 #include <vector>
14 
15 namespace OpenMS
16 {
17 
35  namespace FastLowessSmoothing
36  {
37 
73  int OPENMS_DLLAPI lowess(const std::vector<double>& x, const std::vector<double>& y,
74  double f, int nsteps, double delta, std::vector<double>& result);
75 
88  int OPENMS_DLLAPI lowess(const std::vector<double>& x, const std::vector<double>& y,
89  std::vector<double>& result);
90  }
91 
92 } // namespace OpenMS
int lowess(const std::vector< double > &x, const std::vector< double > &y, double f, int nsteps, double delta, std::vector< double > &result)
Computes a lowess smoothing fit on the input vectors.
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19