get_sampler

sherpa.astro.ui.get_sampler()

Return the current MCMC sampler options.

Returns the options for the current pyBLoCXS MCMC sampling method (jumping rules).

Returns

options – A copy of the options for the chosen sampler. Use set_sampler_opt to change these values. The fields depend on the current sampler.

Return type

dict

See also

get_sampler_name

Return the name of the current MCMC sampler.

get_sampler_opt

Return an option of the current MCMC sampler.

set_sampler

Set the MCMC sampler.

set_sampler_opt

Set an option for the current MCMC sampler.

Examples

>>> print(get_sampler())