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_optto change these values. The fields depend on the current sampler.- Return type:
See also
get_sampler_nameReturn the name of the current MCMC sampler.
get_sampler_optReturn an option of the current MCMC sampler.
set_samplerSet the MCMC sampler.
set_sampler_optSet an option for the current MCMC sampler.
Examples
>>> print(get_sampler())