nanograv / pint_pal

A long-lived repository for NANOGrav Pulsar Timing workflows and analysis.
MIT License
6 stars 16 forks source link

Added compatibility with pl_DM_noise red noise DM modeling #30

Closed gooddc closed 1 year ago

gooddc commented 1 year ago

I've made a small change in the utils.py function whiten_resids. The default pint_pal setup is not compatible with/doesn't know about DM red noise modeling, so you can't get nice whitened residuals plots when using DM red noise modeling. Which is a problem since you don't know about how well the DM model is working without the whitened residuals plot.

Edits are in lines 45 and following in utils.py.

swiggumj commented 1 year ago

Thanks for putting this in Deborah!