residuals# ctapipe.fitting.residuals(X, y, beta)[source]# Calculate the residuals of a linear regression. Parameters: X: np.arrayDesign matrix of shape (N, 2), as created by ~ctapipe.fitting.design_matrix y: np.arrayy values beta: np.arrayParameter vector of the linear regression