13#include "MantidCurveFitting/DllConfig.h"
21namespace CurveFitting {
37 double centre()
const override {
return 0.; }
43 double height()
const override {
return 0.; }
55 void fit(
const std::vector<double> &X,
const std::vector<double> &Y)
override;
58 const std::string
category()
const override {
return "Background"; }
An interface to a background function.
double centre() const override
Returns the centre of the function, which may be something as simple as the centre of the fitting ran...
double height() const override
Returns the height of the function.
void setHeight(const double h) override
Sets the parameters such that height == h.
void setCentre(const double c) override
Sets the parameters such that centre == c.
const std::string category() const override
overwrite IFunction base class methods
std::shared_ptr< BackgroundFunction > BackgroundFunction_sptr
Helper class which provides the Collimation Length for SANS instruments.