list_functions
- sherpa.astro.ui.list_functions(outfile=None, clobber=False)
Display the functions provided by Sherpa.
Unlike the other
list_xxx
commands, this does not return an array. Instead it acts like theshow_xxx
family of commands.- Parameters:
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 notNone
, then this flag controls whether an existing file can be overwritten (True
) or if it raises an exception (False
, the default setting).
- Raises:
sherpa.utils.err.IOErr – If
outfile
already exists andclobber
isFalse
.
See also
get_functions
Return the functions provided by Sherpa.
show_all
Report the current state of the Sherpa session.