Set weights failing due to index error
The following index error arises when attempting to create ROQ weights.
11:57 bilby INFO : ROQ time-step = 0.0001536978621392032
11:57 bilby INFO : Using 1589 ROQ time samples
11:57 bilby INFO : Check ROQ params with roq_scale_factor=2.0
11:57 bilby INFO : Building ROQ weights for H1 with 259585 frequencies between 40.0 and 4096.0.
Traceback (most recent call last):
File "/home/emfollow-playground/.local/bin/bilby_pipe_generation", line 8, in <module>
sys.exit(main())
File "/home/emfollow-playground/.local/lib/python3.7/site-packages/bilby_pipe/data_generation.py", line 1083, in main
data.save_roq_weights()
File "/home/emfollow-playground/.local/lib/python3.7/site-packages/bilby_pipe/data_generation.py", line 1057, in save_roq_weights
quadratic_matrix=basis_matrix_quadratic,
File "/home/emfollow-playground/.local/lib/python3.7/site-packages/bilby/gw/likelihood.py", line 889, in __init__
quadratic_matrix=quadratic_matrix)
File "/home/emfollow-playground/.local/lib/python3.7/site-packages/bilby/gw/likelihood.py", line 1130, in _set_weights
max_elements) * 4 / ifo.strain_data.duration
IndexError: index 521732 is out of bounds for axis 0 with size 521729