get_sampler_opt

sherpa.astro.ui.get_sampler_opt(opt)

Return an option of the current MCMC sampler.

Returns:

opt – The name of the option. The fields depend on the current sampler.

Return type:

str

See also

get_sampler

Return the current MCMC sampler options.

set_sampler_opt

Set an option for the current MCMC sampler.

Examples

>>> get_sampler_opt('log')
False