gwpopulation_pipe.data_simulation.draw_true_values
- draw_true_values(model, vt_model=None, n_samples=40)[source]
Draw samples from the probability density provided by the input model.
- Parameters:
- model: bilby.hyper.model.Model
Population model to evaluate
- vt_model: gwpopulation.vt.GridVT, optional
Model to compute selection function
- n_samples: int
Number of samples to draw
- Returns:
- total_samples: pd.DataFrame
Data containing the true values.