list_priors
- sherpa.astro.ui.list_priors()
Return the priors set for model parameters, if any.
- Returns:
priors – The dictionary of mappings between parameters (keys) and prior functions (values) created by
set_prior
.- Return type:
See also
Examples
In this example a prior on the
PhoIndex
parameter of thepl
instance has been set to be a gaussian:>>> list_priors() {'pl.PhoIndex': <Gauss1D model instance 'gauss1d.gline'>}