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

Sam gw fix #21

Merged
merged 3 commits into from
Apr 13, 2022
Merged

Sam gw fix #21

merged 3 commits into from
Apr 13, 2022

Conversation

lzkelley
Copy link
Member

@lzkelley lzkelley commented Apr 4, 2022

Description

Provide a brief description of the PR's purpose here.

Todos

Notable points that this PR has either accomplished or will accomplish.

  • TODO 1

Questions

  • Question1

Status

  • Ready to go

lzkelley added 3 commits April 4, 2022 10:46
…y before poisson sampling

then it needs to be re-converted back to 1/dlogf for proper characteristic strain calculation.
@lzkelley lzkelley changed the base branch from main to dev April 13, 2022 16:45
@lzkelley lzkelley merged commit d91b886 into dev Apr 13, 2022
@lzkelley
Copy link
Member Author

This fixes the original issue of inconsistent GW spectra in the high-frequency portion. The issue was that the number of binaries per unit log frequency interval were being drawn from the poisson distribution. Frequency needs to be integrated over, then discretize, then re-divide by log-frequency interval.

Note that there is still (or is a new?) problem at lower frequencies, where the kalepy sampled spectrum is systematically higher than the semi-analytic calculation. Reason unclear, to be resolved in a separate PR.

temp

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 this pull request may close these issues.

1 participant