pint.residuals.whiten_residuals

pint.residuals.whiten_residuals(y: ndarray, yerr: ndarray, U: ndarray, Phidiag: ndarray) ndarray[source]

Whiten an array of residuals y given measurement uncertainties yerr, noise basis matrix U, and noise weights Phidiag.

Similar computation is done by the following methods: pint.fitter.GLSFitter.fit_toas(), pint.fitter.WidebandTOAFitter.fit_toas(), pint.fitter.GLSState.step(), pint.fitter.WidebandState.step().