list_methods

sherpa.astro.ui.list_methods()

List the optimization methods.

Returns:

methods – A list of the names that can be used with set_method.

Return type:

list of str

See also

get_method_name

Return the name of the current optimization method.

set_method

Set the optimization method.

Examples

>>> list_methods()
['gridsearch', 'levmar', 'moncar', 'neldermead', 'simplex']