This adds various properties in the Result classes that provide information useful for PESummary.
PESummary reads a Dingo file by first loading it using dingo.gw.result.Result, then interacts with this object to extract desired information.
Main changes
Add f_min, f_max, delta_f, and approximant properties to Result. This must be done carefully since these parameters can be changed during importance sampling.
Save log_noise_evidence when importance sampling and also add a log_bayes_factor property.
Add pesummary_samples and pesummary_prior properties, which apply several manipulations to samples and prior (dropping unwanted parameters, producing unweighted samples, changing spin_conversion_phase, shifting times by t_ref).
To-do
[x] Add version information to all saved DingoDataset files #149. PESummary searches this for the word dingo to identify the file type. Also it wants to record version information.
[x] Fix the bug #148, which currently prevents construction of PESummary metafile.
[ ] Save optimal and matched filter SNR along with samples. This would require careful changes to the Likelihood. (This is less critical.)
[ ] Update dingo_pipe and the Dingo Asimov extension to call PESummary.
This adds various properties in the Result classes that provide information useful for PESummary.
PESummary reads a Dingo file by first loading it using
dingo.gw.result.Result
, then interacts with this object to extract desired information.Main changes
f_min
,f_max
,delta_f
, andapproximant
properties to Result. This must be done carefully since these parameters can be changed during importance sampling.log_noise_evidence
when importance sampling and also add alog_bayes_factor
property.pesummary_samples
andpesummary_prior
properties, which apply several manipulations tosamples
andprior
(dropping unwanted parameters, producing unweighted samples, changingspin_conversion_phase
, shifting times byt_ref
).To-do
dingo
to identify the file type. Also it wants to record version information.