11#include "MantidAlgorithms/DllConfig.h"
12#include "MantidHistogramData/Histogram.h"
27 const std::string name()
const override;
29 int version()
const override;
30 const std::vector<std::string>
seeAlso()
const override {
31 return {
"RemoveBackground",
"CalculatePolynomialBackground"};
34 const std::string category()
const override;
36 const std::string summary()
const override;
44 std::map<std::string, std::string> validateInputs()
override;
57 std::vector<double> &yBackground)
const;
IPeaksWorkspace_sptr workspace
Base class from which all concrete algorithm classes should be derived.
CreateUserDefinedBackground : Given an input workspace containing data with a background and a table ...
const std::vector< std::string > seeAlso() const override
Function to return all of the seeAlso algorithms related to this algorithm.
void multiplyByBinWidth(const API::MatrixWorkspace_const_sptr &data, std::vector< double > &yBackground) const
Multiply y data by bin width.
static const std::string AUTODISTRIBUTIONKEY
Key name for "normalize histogram to bin width" option on plots.
HistogramData::Histogram::YMode getBackgroundYMode(const API::MatrixWorkspace_const_sptr &data, std::vector< double > &yBackground) const
Get Y storage mode for background data.
Provide interpolation over a series of points.
std::shared_ptr< ITableWorkspace > ITableWorkspace_sptr
shared pointer to Mantid::API::ITableWorkspace
std::shared_ptr< const ITableWorkspace > ITableWorkspace_const_sptr
shared pointer to Mantid::API::ITableWorkspace (const version)
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.