bilby.core.prior.dict.create_default_prior

bilby.core.prior.dict.create_default_prior(name, default_priors_file=None)[source]

Make a default prior for a parameter with a known name.

Parameters:
name: str

Parameter name

default_priors_file: str, optional

If given, a file containing the default priors.

Returns:
prior: Prior

Default prior distribution for that parameter, if unknown None is returned.