tlpipe.timestream.time_flag.InterpolatedUnivariateSpline.get_residual

InterpolatedUnivariateSpline.get_residual()[source]

Return weighted sum of squared residuals of the spline approximation: sum((w[i] * (y[i]-s(x[i])))**2, axis=0).