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

adding constant power law signal #206

Open
astrolamb opened this issue Mar 20, 2023 · 0 comments
Open

adding constant power law signal #206

astrolamb opened this issue Mar 20, 2023 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@astrolamb
Copy link
Contributor

if 'red noise' in jp.snames:

For the continuous waves project, folks sometimes add a constant common red noise signal (i.e. a powerlaw with fixed log10A and gamma). Therefore, a 'red noise' object is found in the PTA, however, there is nothing to sample from this signal. Because of this, this line adds red noise prior draws, but there are no red noise parameters to resample from, causing an error.

To fix: check that the dictionary isn't referencing an empty list

@AaronDJohnson AaronDJohnson added bug Something isn't working help wanted Extra attention is needed good first issue Good for newcomers labels Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants