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

PX Pulsar distances can be negative #11

Open
blarsen10 opened this issue Mar 26, 2024 · 0 comments
Open

PX Pulsar distances can be negative #11

blarsen10 opened this issue Mar 26, 2024 · 0 comments

Comments

@blarsen10
Copy link

Some of the pulsar distances with PX measurements can jump to large negative values (albeit rarely). This appears to come about from the QuickCW.PulsarDistPriors.PXDistSampler function, since it is taking the inverse of a Gaussian distribution, which might overlap with zero if the PX uncertainty is large enough. It sounds like a possible solution to this could be just to send the prior to zero if the sampled PX value is small or negative.

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

No branches or pull requests

1 participant