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

ENH: implement time marginalization into multiband likelihood #842

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

SMorisaki
Copy link
Collaborator

This MR implements time marginalization into multiband likelihood. Time marginalization for multiband may be useful since the slow down factor of time marginalization is not as large as that for ROQ or relative binning. The plots below show the likelihood evaluation time of multiband/standard likelihood and with/without time marginalization for 16s XPHM, 64s XPHM, and 128s Pv2_NRtidalv2. The slow down is less than 2 for the first 2 cases.

16s_xphm

64s_xphm_v2

128s_pv2nrtidalv2

@ColmTalbot
Copy link
Collaborator

It looks like this was broken by the requirement that we don't have superfluous waveform kwargs.

- bilby/gw/likelihood/multiband.py: implement time marginalization and resampling of time
- test/gw/likelihood/marginalization_test.py: add marginalization tests for multiband likelihood
@mj-will mj-will changed the title implement time marginalization into multiband likelihood ENH: implement time marginalization into multiband likelihood Nov 1, 2024
@mj-will mj-will merged commit cf4c6c5 into bilby-dev:main Nov 1, 2024
10 checks passed
JasperMartins pushed a commit to JasperMartins/bilby that referenced this pull request Nov 5, 2024
…dev#842)

- bilby/gw/likelihood/multiband.py: implement time marginalization and resampling of time
- test/gw/likelihood/marginalization_test.py: add marginalization tests for multiband likelihood
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.

3 participants