linearΒΆ

This is a class that contains linear fitting tools.

Methods defined here:

linear_1d(x, y, uy)
Finds the values for m and c that minimises the sum of the squares of the residuals weighted by the uncertainty squared.
linear_fit(points)
Returns a linear fit of 3 dimensional data.
linear_function(z, M, C)
Returns the coordinates of the points generated by the vector function M*z +C