Add hierarchical analysis code for quadrupole/ellipticity distribution
Add a class and script to perform a hierarchical analysis for the underlying distribution of neutron star mass quadrupoles/ellipticities.
The class would take in a bilby ResultList
where each result must have been included the Q22
parameters and a DIST
. It would also specify the underlying distribution that it being attempted to fit, e.g. a multi-modal Gaussian, or an exponential, or a power law. It could then provide a prior and likelihood to pass to bilby, and even run bilby itself.
The script might parse a configuration file containing a directory that contains the results files.