design_matrix# ctapipe.fitting.design_matrix(x)[source]# Build the design matrix for linear regression for a given array of x-values. This creates a (N, 2) matrix, where the first column are the x values and the second contains all 1.