Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PINT does not easily provide whitened residuals #976

Closed
aarchiba opened this issue Feb 11, 2021 · 1 comment · Fixed by #1671
Closed

PINT does not easily provide whitened residuals #976

aarchiba opened this issue Feb 11, 2021 · 1 comment · Fixed by #1671

Comments

@aarchiba
Copy link
Contributor

If one has ECORR or red noise, there are two notions of residual - one that is the plain residuals, after subtraction of the timing model, and one that has been "whitened" by subtraction of the basis functions corresponding to those noise components. One could quite reasonably want to plot either, but PINT provides only the former. GLSFitter and WidebandTOAFitter do add a .noise_resids dictionary to their resids object, but it is not trivial to get whitened residuals from this (and it's not at all clear how this behaves for WidebandTOAFitter). Perhaps a .whitened attribute or property on appropriate Residuals objects? Or Fitters could offer, if relevant, a .whitened_resids attribute alongside their .resids?

Convenient access to whitened residuals would be valuable for, e.g., identifying outliers for manual TOA excision, or for visually inspecting fits for plausibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant