| 
    libpappsomspp
    
   Library for mass spectrometry 
   | 
 
Parameters for the Savitzky-Golay filter. More...
#include <savgolfilter.h>
Public Member Functions | |
| SavGolParams () | |
| SavGolParams (const SavGolParams &other) | |
| SavGolParams (int nLParam, int nRParam, int mParam, int lDParam, bool convolveWithNrParam) | |
| void | initialize (int nLParam, int nRParam, int mParam, int lDParam, bool convolveWithNrParam) | 
| void | initialize (const SavGolParams &other) | 
| void | initialize (const QString ¶meters) | 
| QString | toString () const | 
Public Attributes | |
| int | nL = 15 | 
| number of data points on the left of the filtered point   | |
| int | nR = 15 | 
| number of data points on the right of the filtered point   | |
| int | m = 4 | 
| int | lD = 0 | 
| bool | convolveWithNr = false | 
| set to false for best results   | |
Parameters for the Savitzky-Golay filter.
Definition at line 49 of file savgolfilter.h.
      
  | 
  inline | 
      
  | 
  inline | 
Definition at line 66 of file savgolfilter.h.
References SavGolParams(), convolveWithNr, lD, m, nL, and nR.
      
  | 
  inline | 
Definition at line 75 of file savgolfilter.h.
References convolveWithNr, lD, m, nL, and nR.
      
  | 
  inline | 
Definition at line 107 of file savgolfilter.h.
References convolveWithNr, lD, m, nL, and nR.
      
  | 
  inline | 
Definition at line 97 of file savgolfilter.h.
References SavGolParams(), convolveWithNr, lD, m, nL, and nR.
      
  | 
  inline | 
Definition at line 86 of file savgolfilter.h.
References convolveWithNr, lD, m, nL, and nR.
      
  | 
  inline | 
Definition at line 121 of file savgolfilter.h.
References convolveWithNr, lD, m, nL, and nR.
| bool pappso::SavGolParams::convolveWithNr = false | 
set to false for best results
Definition at line 61 of file savgolfilter.h.
Referenced by pappso::FilterSavitzkyGolay::FilterSavitzkyGolay(), pappso::FilterSavitzkyGolay::FilterSavitzkyGolay(), SavGolParams(), SavGolParams(), initialize(), initialize(), initialize(), pappso::FilterSavitzkyGolay::operator=(), and toString().
| int pappso::SavGolParams::lD = 0 | 
specifies the order of the derivative to extract from the Savitzky-Golay smoothing algorithm (for regular smoothing, use 0)
Definition at line 58 of file savgolfilter.h.
Referenced by pappso::FilterSavitzkyGolay::FilterSavitzkyGolay(), pappso::FilterSavitzkyGolay::FilterSavitzkyGolay(), SavGolParams(), SavGolParams(), initialize(), initialize(), initialize(), pappso::FilterSavitzkyGolay::operator=(), and toString().
| int pappso::SavGolParams::m = 4 | 
order of the polynomial to use in the regression analysis leading to the Savitzky-Golay coefficients (typically between 2 and 6)
Definition at line 55 of file savgolfilter.h.
Referenced by pappso::FilterSavitzkyGolay::FilterSavitzkyGolay(), pappso::FilterSavitzkyGolay::FilterSavitzkyGolay(), SavGolParams(), SavGolParams(), initialize(), initialize(), initialize(), pappso::FilterSavitzkyGolay::operator=(), and toString().
| int pappso::SavGolParams::nL = 15 | 
number of data points on the left of the filtered point
Definition at line 51 of file savgolfilter.h.
Referenced by pappso::FilterSavitzkyGolay::FilterSavitzkyGolay(), pappso::FilterSavitzkyGolay::FilterSavitzkyGolay(), SavGolParams(), SavGolParams(), initialize(), initialize(), initialize(), pappso::FilterSavitzkyGolay::operator=(), and toString().
| int pappso::SavGolParams::nR = 15 | 
number of data points on the right of the filtered point
Definition at line 53 of file savgolfilter.h.
Referenced by pappso::FilterSavitzkyGolay::FilterSavitzkyGolay(), pappso::FilterSavitzkyGolay::FilterSavitzkyGolay(), SavGolParams(), SavGolParams(), initialize(), initialize(), initialize(), pappso::FilterSavitzkyGolay::operator=(), and toString().