gwpopulation_pipe.data_simulation

Functions for generating simulated event posteriors. The simulated posteriors will not accurately represent real observational uncertainties.

The module provides the gwpopulation_pipe_simulate_posteriors executable.

In order to use the primary function you will need a class that provides various attributes specified in the gwpopulation_pipe parser.

Functions

create_parser()

draw_true_values(model[, vt_model, n_samples])

Draw samples from the probability density provided by the input model.

main()

simulate_posterior(sample[, ...])

Simulate a posterior distribution given an input sample.

simulate_posterior_from_prior([n_samples])

Draw samples from the posterior distribution assuming the data are non-informative, e.g., sample from the prior distribution.

simulate_posteriors(args)

Simulate a set of posterior samples gives the command-line arguments.