Create and view spectral files for MARX (CIAO contributed package).
from sherpa_contrib.marx import *
The sherpa_contrib.marx module provides routines for creating and viewing the input spectral files for users of MARX (the Chandra simulator) and is provided as part of the CIAO contributed scripts package.
Loading the routines
The module can be loaded into Sherpa by saying either of:
from sherpa_contrib.marx import * from sherpa_contrib.all import *
where the second form loads in all the Sherpa contributed routines, not just the marx module.
The marx module currenly provides the following routines:
|save_marx_spectum||Writes out the model spectrum in the units used by by MARX|
|plot_marx_spectum||Plot the model spectrum in the units used by MARX|
|get_marx_spectum||Get the model spectrum in the units used by MARX|
See the ahelp file for the routine and the contributed scripts page for further information.
Changes in the scripts 4.10.3 (October 2018) release
The sherpa_contrib.marx module - which provides the save_marx_spectrum, plot_marx_spectrum, and get_marx_spectrum routines - is new in this release
See the bugs pages for an up-to-date listing of known bugs.