redback.priors.get_priors

redback.priors.get_priors(model, times=None, y=None, yerr=None, dt=None, **kwargs)[source]

Get the prior for the given model. If the model is a prompt model, the times, y, and yerr must be provided.

Parameters:
  • model – String referring to a name of a model implemented in Redback.

  • times – Time array

  • y – Y values, arbitrary units

  • yerr – Error on y values, arbitrary units

  • dt – time interval

  • kwargs – Extra arguments to be passed to the prior function

Returns:

priors: PriorDict object