|AHELP for CIAO 4.3 Sherpa v1||
Utility routines for Sherpa (CIAO contributed package).
from sherpa_contrib.utils import *
The sherpa_contrib.utils module provides utility routines for Sherpa users, and is provided as part of the CIAO contributed scripts package.
The module can be loaded into Sherpa by saying either of:
from sherpa_contrib.utils import * from sherpa_contrib.all import *
where the second form loads in all the Sherpa contributed routines, not just the utils module.
The utils module currenly provides the routines:
- save_instmap_weights() - write out the model spectrum in the form required by mkinstmap
- plot_instmap_weights() - plot up the model spectrum in the form required by mkinstmap
- get_instmap_weights() - return the model spectrum in the form required by mkinstmap
- estimate_weighted_expmap() - return the estimated exposure map value by weighting the ARF by the spectral model
See the ahelp file for the routine and the contributed scripts page for further information.
See the bugs pages for an up-to-date listing of known bugs.