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 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
The following routine is deprecated; users should switch
to using the guess() routine instead:
-
set_param_limits_from_image() - Set the limits for positional parameters (xpos,ypos) to match the image coordinate range
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.
|