Synopsis
Display the current optimization method and options.
Syntax
show_method(outfile=None, clobber=False)
Example
>>> set_method('levmar') >>> show_method() Optimization Method: LevMar name = levmar ftol = 1.19209289551e-07 xtol = 1.19209289551e-07 gtol = 1.19209289551e-07 maxfev = x epsfcn = 1.19209289551e-07 factor = 100.0 verbose = 0
PARAMETERS
The parameters for this function are:
Parameter | Type information | Definition |
---|---|---|
outfile | str, optional | If not given the results are displayed to the screen, otherwise it is taken to be the name of the file to write the results to. |
clobber | bool, optional | If `outfile` is not none , then this flag controls whether an existing file can be overwritten ( True ) or if it raises an exception ( False , the default setting). |
Bugs
See the bugs pages on the Sherpa website for an up-to-date listing of known bugs.
See Also
- filtering
- show_filter
- info
- get_functions, list_bkg_ids, list_functions, show_all, show_bkg_model, show_bkg_source, show_conf, show_covar, show_data, show_fit, show_model, show_proj, show_source, show_stat