Reduce roq memory usage
The way we've set up the ROQ is pretty memory intensive and the weights aren't stored.
This MR will allow us to
- generate the weights and save them to file (currently
json
). - load these weights in with a much smaller memory footprint in multiple runs.
Going forward we should add an extra job in bilby_pipe
that computes the ROQ weights.