get_sampler_name

sherpa.ui.get_sampler_name()

Return the name of the current MCMC sampler.

Returns:

name

Return type:

str

See also

get_sampler

Return the current MCMC sampler options.

set_sampler

Set the MCMC sampler.

Examples

>>> get_sampler_name()
'MetropolisMH'