|AHELP for CIAO 4.3 Sherpa v1||
Display the optimization method
show_method([outfile=None, clobber=False] )
The show_method command displays the current optimization method and parameters.
- outfile - name of the file in which to store the information
- clobber - a Boolean switch which indicates whether or not the 'outfile' should be overwritten, if the file already exists; default=False
The command output looks like:
Optimization Method: NelderMead name = simplex ftol = 1.19209289551e-07 maxfev = None initsimplex = 0 finalsimplex = 9 step = None iquad = 1 verbose = 0
The behavior of the screen output is determined by the user's $PAGER environment variable setting, which is usually a variant of "more." To disable paging within show_all() - i.e. print the entire contents, even if it scrolls offscreen - change this setting to "cat" before starting Sherpa:
unix% setenv PAGER cat unix% sherpa
Print the optimization method to the screen.
sherpa> show_method("sherpa.method", True)
Write the optimization method to the file "sherpa.method", clobbering any existing file with the same name.
See the bugs pages on the Sherpa website for an up-to-date listing of known bugs.