gwpopulation_pipe.data_collection.evaluate_prior
- evaluate_prior(posts, args, dataset, meta)[source]
 Evaluate the prior distribution for the input posteriors.
- Parameters:
 - posts: dict
 Dictionary of pd.DataFrame objects containing the posteriors.
- args:
 Input args containing the prior specification.
- dataset: str
 The dataset label to evaluate the prior for (i.e. “O4a”). Should be a key in args.sample_regex.
- meta: dict
 The per-event metadata, including e.g., the cosmology used for the analysis.
- Returns:
 - posts: dict
 The input dictionary, modified in place.