Matrix Science header
Public Member Functions

ms_fitexy_result Class Reference
[Quantitation analysis for Mascot Server and Distiller]

Parameters and results from least squares fit with errors in both co-ordinates. More...

#include <ms_fitexy_result.hpp>

Inherits matrix_science::ms_handle.

List of all members.

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.

Detailed Description

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.


Constructor & Destructor Documentation

Default constructor.

Assigns reasonable default values to all internal members.


Member Function Documentation

double getA (  ) const

Get the a value.

The fitted line is y = a + bx

Returns:
The a value.
double getB (  ) const

Get the b value.

The fitted line is y = a + bx

Returns:
The b value.
double getChi2 (  ) const

Get the chi-squared value.

Returns:
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

Returns:
The Q value.
double getSigmaA (  ) const

Get the a sigma.

The relative probable uncertanty of 'a'

Returns:
The a sigma.
double getSigmaB (  ) const

Get the b sigma.

The relative probable uncertanty of 'b'

Returns:
The b sigma.
double getSigmaX (  ) const

Get the x sigma.

The standard deviation of x data.

Returns:
The x sigma.
double getSigmaY (  ) const

Get the y sigma.

The standard deviation of y data.

Returns:
The y sigma.

The documentation for this class was generated from the following files:
Copyright © 2016 Matrix Science Ltd.  All Rights Reserved. Generated on Fri Jun 2 2017 01:44:52