Optimizations to multiband weights
This MR makes a few optimizations on computing multiband weights in MBGravitationalWaveTransient
.
- This MR speeds up weights computations by optimizing the computations of window function at evenly-spaced frequency points. For a 1.4Msun-1.4Msun BNS signal observed from 5Hz, this optimization reduces its run time from minutes to seconds.
- This MR adds
save_weights
andsetup_multibanding_from_weights
methods, which can be used to save/load multiband weights as done for ROQ. This can save the cost of precomputing weights for the second execution. Type checks are updated so that the likelihood can properly load numbers from a .hdf5 weights file. Unit tests are also added for testing this in/out. - Add
minimum_frequency
,maximum_frequency
, andnumber_of_bands
properties as they are frequency used for setting up multiband weights.
I have verified that the multiband weights produced by the new codes are the same as those from the previous codes in this notebook.
Merge request reports
Activity
added >100 lines label
added 26 commits
-
2922a842...a649c608 - 22 commits from branch
lscsoft:master
- 6f6464fc - FEATURE: Add per-detector likelihood calculation
- eeee436c - bilby/gw/likelihood/multiband.py: optimize computations of window function
- 7d8db011 - Enable MBGravitationalWaveTransien to save/load multiband weights
- f330b786 - bilby/gw/likelihood/multiband.py: add number_of_bands property
Toggle commit list-
2922a842...a649c608 - 22 commits from branch
added 5 commits
-
f330b786...2467d687 - 2 commits from branch
lscsoft:master
- e2cfa36b - bilby/gw/likelihood/multiband.py: optimize computations of window function
- 26e84eb7 - Enable MBGravitationalWaveTransien to save/load multiband weights
- f67501ea - bilby/gw/likelihood/multiband.py: add number_of_bands property
Toggle commit list-
f330b786...2467d687 - 2 commits from branch
added 63 commits
-
159f14e7...e73045f8 - 60 commits from branch
lscsoft:master
- d5351ab5 - bilby/gw/likelihood/multiband.py: optimize computations of window function
- 95a42216 - Enable MBGravitationalWaveTransient to save/load multiband weights
- 1915119f - bilby/gw/likelihood/multiband.py: add number_of_bands property
Toggle commit list-
159f14e7...e73045f8 - 60 commits from branch
added 1 commit
- abc624b7 - bilby/gw/likelihood/multiband.py: fix bug in calculating window values when...
added 4 commits
Toggle commit listmentioned in merge request bilby_pipe!492 (merged)
added 7 commits
-
8d889e7b...985ddbe5 - 4 commits from branch
lscsoft:master
- 4dc63c4b - bilby/gw/likelihood/multiband.py: optimize computations of window function
- 7f213314 - Enable MBGravitationalWaveTransient to save/load multiband weights
- 64d9224f - bilby/gw/likelihood/multiband.py: add number_of_bands property
Toggle commit list-
8d889e7b...985ddbe5 - 4 commits from branch
added 19 commits
-
64d9224f...eabbd678 - 16 commits from branch
lscsoft:master
- c60d3f04 - bilby/gw/likelihood/multiband.py: optimize computations of window function
- 1576aa2b - Enable MBGravitationalWaveTransient to save/load multiband weights
- 627758e3 - bilby/gw/likelihood/multiband.py: add number_of_bands property
Toggle commit list-
64d9224f...eabbd678 - 16 commits from branch
added 7 commits
-
627758e3...0ebc4ae9 - 4 commits from branch
lscsoft:master
- 054c6f7a - bilby/gw/likelihood/multiband.py: optimize computations of window function
- 809e2eb0 - Enable MBGravitationalWaveTransient to save/load multiband weights
- 8e97c778 - bilby/gw/likelihood/multiband.py: add number_of_bands property
Toggle commit list-
627758e3...0ebc4ae9 - 4 commits from branch
added 5 commits
-
8e97c778...0651e9fe - 2 commits from branch
lscsoft:master
- 4fb82793 - bilby/gw/likelihood/multiband.py: optimize computations of window function
- 87295227 - Enable MBGravitationalWaveTransient to save/load multiband weights
- c2984ca4 - bilby/gw/likelihood/multiband.py: add number_of_bands property
Toggle commit list-
8e97c778...0651e9fe - 2 commits from branch
- Automatically resolved by Soichiro Morisaki
- Resolved by Soichiro Morisaki
added 11 commits
-
c2984ca4...d5580325 - 8 commits from branch
lscsoft:master
- 97938094 - bilby/gw/likelihood/multiband.py: optimize computations of window function
- 1f26fc7d - Enable MBGravitationalWaveTransient to save/load multiband weights
- c631a510 - bilby/gw/likelihood/multiband.py: add number_of_bands property
Toggle commit list-
c2984ca4...d5580325 - 8 commits from branch
added 1 commit
- a6218091 - bilby/gw/likelihood/multiband.py: utilize hdf5 in/out functions implemented in core/utils
changed milestone to %1.4.2
mentioned in commit 5d2ec5e2