Fitting (fitting)#
Reference/API#
ctapipe.fitting Module#
Utilities for fitting functions to data.
Functions#
Build the design matrix for linear regression for a given array of x-values. |
|
|
Analytical linear regression |
|
Calculate the residual sum of squares |
|
Calculate the residuals of a linear regression. |
|
Draw two distinct random integers from |
|
Perform a Least Trimmed Squares regression. |