Mantid
Loading...
Searching...
No Matches
Namespaces | Functions
Smoothing.h File Reference
#include "MantidKernel/DllConfig.h"
#include <span>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::Kernel
 
namespace  Mantid::Kernel::Smoothing
 

Functions

MANTID_KERNEL_DLL std::vector< double > Mantid::Kernel::Smoothing::boxcarErrorSmooth (std::span< double const > input, unsigned int const numPoints)
 
template<typename T >
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.
 
template<typename T >
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.
 
MANTID_KERNEL_DLL std::vector< double > Mantid::Kernel::Smoothing::boxcarSmooth (std::span< double const > input, unsigned int const numPoints)
 Overloads taking a contiguous range of doubles, so that the size-checked histogram data types, which do not hand out a std::vector<double>, can be smoothed directly.
 
template<typename T >
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.
 
template<typename Y >
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.
 
template<typename Y >
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.