Last modified: December 2022

URL: https://cxc.cfa.harvard.edu/sherpa/ahelp/list_priors.html
Jump to: · Example · PARAMETERS · Bugs · See Also


AHELP for CIAO 4.15 Sherpa

list_priors

Context: statistics

Synopsis

Return the priors set for model parameters, if any.

Syntax

list_priors()

Example

In this example a prior on the phoindex parameter of the pl instance has been set to be a gaussian:

>>> list_priors()
{'pl.PhoIndex': <Gauss1D model instance 'gauss1d.gline'>}

PARAMETERS

This function has no parameters

Return value

The return value from this function is:

priors -- The dictionary of mappings between parameters (keys) and prior functions (values) created by `set_prior` .


Bugs

See the bugs pages on the Sherpa website for an up-to-date listing of known bugs.

See Also

info
get_functions, list_functions, list_response_ids, list_stats
methods
list_iter_methods, list_methods
models
list_model_components, list_models
statistics
cash, chi2constvar, chi2datavar, chi2gehrels, chi2modvar, chi2xspecvar, chisquare, cstat, get_prior, leastsq, list_samplers, set_prior, set_sampler, set_stat, wstat