OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
#include <SavitzkyGolay.h>
Public Member Functions | |
SavitzkyGolayFilter (int np, int nl, int nr, int m) | |
~SavitzkyGolayFilter () | |
void | apply (std::vector< double > &histogram) |
void | calc_derivative (std::vector< double > &histogram, const double &h) |
Public Member Functions inherited from Filter | |
Filter () | |
virtual | ~Filter () |
Private Attributes | |
int | NumberPoints_m |
int | NumberPointsLeft_m |
int | NumberPointsRight_m |
int | PolynomialOrder_m |
std::vector< double > | Coefs_m |
std::vector< double > | CoefsDeriv_m |
Definition at line 6 of file SavitzkyGolay.h.
SavitzkyGolayFilter::SavitzkyGolayFilter | ( | int | np, |
int | nl, | ||
int | nr, | ||
int | m | ||
) |
Definition at line 8 of file SavitzkyGolay.cpp.
References Coefs_m, CoefsDeriv_m, NumberPoints_m, NumberPointsLeft_m, NumberPointsRight_m, PolynomialOrder_m, and savgol().
|
inline |
Definition at line 9 of file SavitzkyGolay.h.
|
virtual |
Implements Filter.
Definition at line 19 of file SavitzkyGolay.cpp.
References Coefs_m, and convlv().
|
virtual |
Implements Filter.
Definition at line 25 of file SavitzkyGolay.cpp.
References CoefsDeriv_m, and convlv().
|
private |
Definition at line 20 of file SavitzkyGolay.h.
Referenced by apply(), and SavitzkyGolayFilter().
|
private |
Definition at line 21 of file SavitzkyGolay.h.
Referenced by calc_derivative(), and SavitzkyGolayFilter().
|
private |
Definition at line 16 of file SavitzkyGolay.h.
Referenced by SavitzkyGolayFilter().
|
private |
Definition at line 17 of file SavitzkyGolay.h.
Referenced by SavitzkyGolayFilter().
|
private |
Definition at line 18 of file SavitzkyGolay.h.
Referenced by SavitzkyGolayFilter().
|
private |
Definition at line 19 of file SavitzkyGolay.h.
Referenced by SavitzkyGolayFilter().