clean¶
- sherpa.ui.clean()¶
Clear out the current Sherpa session.
The clean function removes all data sets and model assignments, and restores the default settings for the optimisation and fit statistic.
See also
saveSave the current Sherpa session to a file.
restoreLoad in a Sherpa session from a file.
sherpa.astro.ui.save_allSave the Sherpa session as an ASCII file.
Examples
>>> clean()