OpenMS
Loading...
Searching...
No Matches
GaussFilter.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: Eva Lange $
7// --------------------------------------------------------------------------
8
9#pragma once
10
16
17namespace OpenMS
18{
42//#define DEBUG_FILTERING
43
44 class OPENMS_DLLAPI GaussFilter :
45 public ProgressLogger,
47 {
48public:
51
53 ~GaussFilter() override = default;
54
62 void filter(MSSpectrum & spectrum);
63
64 void filter(MSChromatogram & chromatogram);
65
66 void filter(Mobilogram & mobilogram);
67
74
75protected:
76
78
80 double spacing_;
81
82 bool write_log_messages_ = false;
83
84 // Docu in base class
85 void updateMembers_() override;
86 };
87
88} // namespace OpenMS
A base class for all classes handling default parameters.
Definition DefaultParamHandler.h:66
This class represents a Gaussian lowpass-filter which works on uniform as well as on non-uniform prof...
Definition GaussFilterAlgorithm.h:48
This class represents a Gaussian lowpass-filter which works on uniform as well as on non-uniform prof...
Definition GaussFilter.h:47
void filter(MSChromatogram &chromatogram)
~GaussFilter() override=default
Destructor.
void filter(MSSpectrum &spectrum)
Smoothes an MSSpectrum containing profile data.
double spacing_
The spacing of the pre-tabulated kernel coefficients.
Definition GaussFilter.h:80
void filter(Mobilogram &mobilogram)
void filterExperiment(PeakMap &map)
Smoothes an MSExperiment containing profile data.
void updateMembers_() override
This method is used to update extra member variables at the end of the setParameters() method.
GaussFilter()
Constructor.
GaussFilterAlgorithm gauss_algo_
Definition GaussFilter.h:77
The representation of a chromatogram.
Definition MSChromatogram.h:30
In-Memory representation of a mass spectrometry run.
Definition MSExperiment.h:49
The representation of a 1D spectrum.
Definition MSSpectrum.h:44
The representation of a 1D ion mobilogram.
Definition Mobilogram.h:32
Base class for all classes that want to report their progress.
Definition ProgressLogger.h:27
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19