|
Mantid
|
Namespaces | |
| namespace | detail |
| namespace | fft |
Functions | |
| template MANTID_KERNEL_DLL std::vector< double > | boxcarErrorSmooth (std::vector< double > const &, unsigned int const) |
| template<typename T > | |
| std::vector< T > | boxcarErrorSmooth (std::vector< T > const &input, unsigned int const numPoints) |
| Performs boxcar (moving average) smoothing on the input data, using error propagation formula. | |
| template MANTID_KERNEL_DLL std::vector< double > | boxcarRMSESmooth (std::vector< double > const &, unsigned int const) |
| template<typename T > | |
| std::vector< T > | boxcarRMSESmooth (std::vector< T > const &input, unsigned int const numPoints) |
| Performs boxcar (moving average) smoothing on the input data, using a RMSE average, as is appropriate for error averaging. | |
| template MANTID_KERNEL_DLL std::vector< double > | boxcarSmooth (std::vector< double > const &, unsigned int const) |
| template<typename T > | |
| std::vector< T > | boxcarSmooth (std::vector< T > const &input, unsigned int const numPoints) |
| Performs boxcar (moving average) smoothing on the input data. | |
| template MANTID_KERNEL_DLL std::vector< double > | fftButterworthSmooth (std::vector< double > const &, unsigned const, unsigned const) |
| template<typename Y > | |
| std::vector< Y > | fftButterworthSmooth (std::vector< Y > const &input, unsigned const cutoff, unsigned const order) |
| Performs FFT smoothing on the input data, using a Butterworth filter NOTE: the input data MUST be defined on a uniform grid. | |
| template MANTID_KERNEL_DLL std::vector< double > | fftSmooth (std::vector< double > const &, unsigned const) |
| template<typename Y > | |
| std::vector< Y > | fftSmooth (std::vector< Y > const &input, unsigned const cutoff) |
| Performs FFT smoothing on the input data, with high frequencies set to zero NOTE: the input data MUST be defined on a uniform grid. | |
| template MANTID_KERNEL_DLL std::vector< double > Mantid::Kernel::Smoothing::boxcarErrorSmooth | ( | std::vector< double > const & | , |
| unsigned int const | |||
| ) |
| std::vector< T > Mantid::Kernel::Smoothing::boxcarErrorSmooth | ( | std::vector< T > const & | input, |
| unsigned int const | numPoints | ||
| ) |
Performs boxcar (moving average) smoothing on the input data, using error propagation formula.
This is the correct method to use for smoothing histogram errors after their y-values have been smoothed.
| input | The input vector to be smoothed |
| numPoints | The width of the boxcar window (must be >= 3) |
| std::invalid_argument | if numPoints is too small |
| T | Numeric type (e.g., int, float, double) |
Definition at line 146 of file Smoothing.cpp.
References Mantid::Kernel::Smoothing::detail::boxcarSmoothWithFunction().
Referenced by Mantid::Algorithms::smooth().
| template MANTID_KERNEL_DLL std::vector< double > Mantid::Kernel::Smoothing::boxcarRMSESmooth | ( | std::vector< double > const & | , |
| unsigned int const | |||
| ) |
| std::vector< T > Mantid::Kernel::Smoothing::boxcarRMSESmooth | ( | std::vector< T > const & | input, |
| unsigned int const | numPoints | ||
| ) |
Performs boxcar (moving average) smoothing on the input data, using a RMSE average, as is appropriate for error averaging.
| input | The input vector to be smoothed |
| numPoints | The width of the boxcar window (must be >= 3) |
| std::invalid_argument | if numPoints is too small |
| T | Numeric type (e.g., int, float, double) |
Definition at line 151 of file Smoothing.cpp.
References Mantid::Kernel::Smoothing::detail::boxcarSmoothWithFunction().
| template MANTID_KERNEL_DLL std::vector< double > Mantid::Kernel::Smoothing::boxcarSmooth | ( | std::vector< double > const & | , |
| unsigned int const | |||
| ) |
| std::vector< T > Mantid::Kernel::Smoothing::boxcarSmooth | ( | std::vector< T > const & | input, |
| unsigned int const | numPoints | ||
| ) |
Performs boxcar (moving average) smoothing on the input data.
| input | The input vector to be smoothed |
| numPoints | The width of the boxcar window (must be >= 3) |
| std::invalid_argument | if numPoints is too small |
| T | Numeric type (e.g., int, float, double) |
Definition at line 141 of file Smoothing.cpp.
References Mantid::Kernel::Smoothing::detail::boxcarSmoothWithFunction().
Referenced by Mantid::Algorithms::AddLogSmoothed::exec(), and Mantid::Algorithms::smooth().
| template MANTID_KERNEL_DLL std::vector< double > Mantid::Kernel::Smoothing::fftButterworthSmooth | ( | std::vector< double > const & | , |
| unsigned const | , | ||
| unsigned const | |||
| ) |
| std::vector< Y > Mantid::Kernel::Smoothing::fftButterworthSmooth | ( | std::vector< Y > const & | input, |
| unsigned const | cutoff, | ||
| unsigned const | order | ||
| ) |
Performs FFT smoothing on the input data, using a Butterworth filter NOTE: the input data MUST be defined on a uniform grid.
| input | The input vector to be smoothed |
| cutoff | Represents the cutoff frequency, where step function behavior begins descent |
| order | Represents the steepness of the frequency cutoff; as this approaches infinity, approaches step cutoff |
| Y | numeric type for y-values |
Definition at line 247 of file Smoothing.cpp.
References Mantid::Kernel::Smoothing::fft::fftSmoothWithFilter(), and std::to_string().
Referenced by Mantid::Algorithms::AddLogSmoothed::exec(), and Mantid::Algorithms::FFTSmooth::FFTSmooth2::exec().
| template MANTID_KERNEL_DLL std::vector< double > Mantid::Kernel::Smoothing::fftSmooth | ( | std::vector< double > const & | , |
| unsigned const | |||
| ) |
| std::vector< Y > Mantid::Kernel::Smoothing::fftSmooth | ( | std::vector< Y > const & | input, |
| unsigned const | cutoff | ||
| ) |
Performs FFT smoothing on the input data, with high frequencies set to zero NOTE: the input data MUST be defined on a uniform grid.
| input | The input vector to be smoothed |
| cutoff | The cutoff frequency; all components from this number forward will be set to zero |
| Y | numeric type for y-values |
Definition at line 234 of file Smoothing.cpp.
References std::to_string().
Referenced by Mantid::Algorithms::AddLogSmoothed::exec(), and Mantid::Algorithms::FFTSmooth::FFTSmooth2::exec().