Resolve "GW-specific result object"
All threads resolved!
All threads resolved!
Compare changes
Files
5- Gregory Ashton authored
- Adds a `result_class` argument to run_sampler which can determine which result class to use - Extend the `meta_data` use in the gw module to save more information - Adds a bilby.gw.result.CBCResult class which unpacks the meta_data to provide easy access to commonly required information
+ 8
− 2
@@ -39,7 +39,8 @@ if command_line_args.sampler_help:
@@ -81,6 +82,10 @@ def run_sampler(likelihood, priors=None, label='label', outdir='outdir',
@@ -126,7 +131,8 @@ def run_sampler(likelihood, priors=None, label='label', outdir='outdir',