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

WIP: More correct low-rank expansion of powerlaw noise #1877

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

vhaasteren
Copy link
Member

The existing low-rank expansions for red noise and related processes are based on the Lentati et al. (2014) expansion which uses a diagonal prior for frequency modes at 1/T. This is only approximately correct when fitting for quadratic spindown. For DM variations, which use the same model, contemporary analyses now consequently also include a DM2 term to "make the analysis work". DM2 is not necessarily physical when doing a fully unconstrained fit, so it is more correct to let this term be modeled by the stochastic process.

A low-rank expansion with frequencies below 1/T can improve the expansion while keeping the prior matrix diagonal. This is explored in van Haasteren & Vallisneri (2014): https://doi.org/10.1093/mnras/stu2157

This PR implements that model. Note that newer and more accurate expansions are in development that have a nondiagonal prior matrix. The design idea is that the models in this PR will also be implemented as part of the Classes in this PR: they represent the same model, namely a correct powerlaw. The Lentati expansion is a physically different model with spectral leakage explicitly not present, so that is different.

@vhaasteren vhaasteren self-assigned this Jan 8, 2025
@vhaasteren
Copy link
Member Author

I will merge in changes from #1762 , as those changes overlap with this one. I will get rid of the low-frequency cut-off, and instead use the corner frequency as in #1762 by @abhisrkckl

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

Successfully merging this pull request may close these issues.

1 participant