14 #ifndef PyFunctionRep_H
15 #define PyFunctionRep_H
73 const std::vector < std::string > &
parmNames ()
const;
80 const std::vector < double > &
parameters ()
const;
114 void setFitter (
const std::string & name );
137 #endif // PyFunctionRep_H
const std::vector< double > & principleErrors() const
Returns the principle error values associated with the parameters.
int degreesOfFreedom()
Returns the number of degrees-of-freedom.
PyFunctionRep(const std::string &function_name, PyDataRep *rep)
Constructor taking function name and target DataRep.
PlotterBase * m_target
The PlotterBase on which the FunctionRep is displayed.
A derived class of DataRep which is a base class for displaying a function.
FunctionRep * m_rep
The wrapped FunctionRep object.
void setFitRangeEnabled(bool yes=true)
Sets use of a fitting range on or off.
const std::vector< double > & parameters() const
Returns the current values of the parameters.
The base class for the PlotterBase hierarchy.
const std::string & getFitterName() const
Returns the name of the Fitter.
const std::vector< std::vector< double > > & covarianceMatrix()
Returns the covariance matrix from the last fit.
The base class for data representations.
hippodraw::DataRep * getRep() const
Returns the wrapped FunctionRep object.
const std::vector< std::string > & parmNames() const
Returns the names of the parameters.
QtDisplay * createResidualsDisplay() const
Returns an XY Plot of the residuals between the function and the data.
bool fitFunction()
Fits the function to the target DataRep.
This class is the public Python interface wrap for the FunctionRep class.
A function that can be added to a DataRep and used in a fitter.
void setFixedFlags(const std::vector< int > &flags)
Set the fixed flags of the parameters.
Qt Displays wraps a derived class of PlotterBase.
double objectiveValue()
Returns the value of objective value.
void setFitter(const std::string &name)
Sets the Fitter with name in the FitterFactory.
void setParameters(const std::vector< double > ¶ms)
Set the parameter values.
void setFitRange(double low, double high)
Sets the cut to limit range of fitting.
void addTo(QtDisplay *display)
Adds the function on to the display.
double operator()(double x)
Returns the function value at a given x.
This class is the public interface the what the user sees as the DataRep object from Python...