P_astro_project.select_hyperposterior
Use this script to obtain a set of hyperparameters from the set of samples provided with GWTC-3. This has been extended to allow for multiple sets (nsets) of hyperparameters to be selected.
Module Contents
Functions
|
Select a user-defined number of sets of hyperposterior samples from which to obtain posterior samples. |
- P_astro_project.select_hyperposterior.select_hyper(nsets=20)
Select a user-defined number of sets of hyperposterior samples from which to obtain posterior samples.
- Parameters
- nsets: float
Number of hyperposteriors sets to be randomly selected.
- Returns
- PP_params: [dict]
A list of dictionaries, each a set of hyperposterior samples.