list_samplers

sherpa.astro.ui.list_samplers()

List the MCMC samplers.

Returns:

samplers – A list of the names (in lower case) that can be used with set_sampler.

Return type:

list of str

See also

get_sampler_name

Return the name of the current MCMC sampler.

Examples

>>> list_samplers()
['metropolismh', 'fullbayes', 'mh', 'pragbayes']