Convert LALDict to python dictionary before saving
Fixes #693.
Uses lalsimulation.gwsignal.core.utils.from_lal_dict
to convert a LALDict to a python dictionary before saving.
I have a few concerns which I was not sure how to tackle:
- The new logic has the downside that it is the only part of code in
core/result.py
that depends on a function ingw
. The other option is to define an equivalent_get_save_data_dictionary
inside theCompactBinaryCoalescenceResult
class. - Right now this imports the relevant function from LALSimulation, but we could have just copied over the relevant code into bilby (since LALSuite is under GNU GPL).