Parameters and results from least squares fit with errors in both co-ordinates. More...
#include <ms_fitexy_result.hpp>
Inherits ms_handle.
Public Member Functions | |
ms_fitexy_result () | |
Default constructor. | |
double | getA () const |
Get the a value. | |
double | getB () const |
Get the b value. | |
double | getChi2 () const |
Get the chi-squared value. | |
double | getQ () const |
Get the chi squared probabilty. The larger the value, the better the fit. | |
double | getSigmaA () const |
Get the a sigma. | |
double | getSigmaB () const |
Get the b sigma. | |
double | getSigmaX () const |
Get the x sigma. | |
double | getSigmaY () const |
Get the y sigma. | |
Parameters and results from least squares fit with errors in both co-ordinates.
Mascot Parser does not contain the code to calculate the fit. This class just returns the result of the fitting of a straight line: y = a + bx
The results are stored in XML in a "fitexy" entity.
ms_fitexy_result | ( | ) |
Default constructor.
Assigns reasonable default values to all internal members.
double getA | ( | ) | const |
Get the a value.
The fitted line is y = a + bx
double getB | ( | ) | const |
Get the b value.
The fitted line is y = a + bx
double getChi2 | ( | ) | const |
Get the chi-squared value.
double getQ | ( | ) | const |
Get the chi squared probabilty. The larger the value, the better the fit.
The goodness of fit probability q that the fit would have getChi2() this large or larger
double getSigmaA | ( | ) | const |
Get the a sigma.
The relative probable uncertanty of 'a'
double getSigmaB | ( | ) | const |
Get the b sigma.
The relative probable uncertanty of 'b'
double getSigmaX | ( | ) | const |
Get the x sigma.
The standard deviation of x data.
double getSigmaY | ( | ) | const |
Get the y sigma.
The standard deviation of y data.