#include <chebyshev.h>

Public Member Functions | |
| chebyshev_smooth (std::size_t const &n_terms, FloatType const &low_limit, FloatType const &high_limit) | |
| chebyshev_smooth (std::size_t const &n_terms, FloatType const &low_limit, FloatType const &high_limit, scitbx::af::const_ref< FloatType > const &cheb_coefs) | |
| void | replace_and_smooth (scitbx::af::const_ref< FloatType > const &coefs) |
| scitbx::af::shared< FloatType > | smooth_coefs () |
| In python this accesible as smooth_coefs. | |
The Gibbs damping in this chebyshev polynome takes the form of g = 0.5*(1-tanh( (z-1)/(z*(1-z)))) where z = ii/(n_terms_+1), and f(x) 0.5*g_0c_0 + sum_{ii=0}^{M} g_ii c_ii T_ii(x) It ensures that the effective last coefficients are small This will large oscilations of a small period in the final function in the hope that it will prevent overfitting of data.
1.5.6