Skip to content

ENH: implement time marginalization into multiband likelihood#842

Merged
mj-will merged 1 commit intobilby-dev:mainfrom
SMorisaki:time_marg_multiband
Nov 1, 2024
Merged

ENH: implement time marginalization into multiband likelihood#842
mj-will merged 1 commit intobilby-dev:mainfrom
SMorisaki:time_marg_multiband

Conversation

@SMorisaki
Copy link
Copy Markdown
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
Copy Markdown
Collaborator

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

Comment thread test/gw/likelihood/marginalization_test.py Outdated
@SMorisaki SMorisaki force-pushed the time_marg_multiband branch from f09d62a to 2a87ea9 Compare October 31, 2024 22:07
- bilby/gw/likelihood/multiband.py: implement time marginalization and resampling of time
- test/gw/likelihood/marginalization_test.py: add marginalization tests for multiband likelihood
@SMorisaki SMorisaki force-pushed the time_marg_multiband branch from 2a87ea9 to d481f93 Compare November 1, 2024 12:25
@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
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