16namespace HistogramData {
60 const std::string
name()
const override {
return "InterpolatingRebin"; }
62 const std::string
summary()
const override {
63 return "Creates a workspace with different x-value bin boundaries where "
64 "the new y-values are estimated using cubic splines.";
68 int version()
const override {
return 1; }
69 const std::vector<std::string>
seeAlso()
const override {
return {
"Rebin"}; }
71 const std::string
category()
const override {
return "Transforms\\Rebin"; }
73 const std::string
alias()
const override {
return ""; }
83 HistogramData::Histogram cubicInterpolation(
const HistogramData::Histogram &oldHistogram,
84 const HistogramData::BinEdges &xNew)
const;
86 HistogramData::Histogram noInterpolation(
const HistogramData::Histogram &oldHistogram,
87 const HistogramData::BinEdges &xNew)
const;
89 double estimateError(
const HistogramData::Points &xsOld,
const HistogramData::HistogramE &esOld,
90 const double xNew)
const;
Uses cubic splines to interpolate the mean rate of change of the integral over the inputed data bins ...
const std::string summary() const override
Summary of algorithms purpose.
const std::string category() const override
Algorithm's category for identification overriding a virtual method.
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
const std::string workspaceMethodName() const override
const std::string name() const override
Algorithm's name for identification overriding a virtual method.
int version() const override
Algorithm's version for identification overriding a virtual method.
const std::string alias() const override
Alias for the algorithm. Must override so it doesn't get parent class's.
Takes a workspace as input and rebins the data according to the input rebin parameters.
std::shared_ptr< const MatrixWorkspace > MatrixWorkspace_const_sptr
shared pointer to the matrix workspace base class (const version)
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.