compute_distance_prior_weights

beast.physicsmodel.prior_weights_stars.compute_distance_prior_weights(dists, dist_prior_model)[source]

Computes the distance prior for the specified model

Parameters
distsnumpy vector

distances

dist_prior_model: dict

dict including prior model name and parameters

Returns
dists_weightsnumpy vector

weights to provide the requested prior model