XMM-Newton SAS Home Page
XMM-Newton Science Analysis System


omgrismplot (omgrismplot-1.7) [xmmsas_20190531_1155-18.0.0]


Description

omgrismplotplot produces plots of grism spectra extracted from the OM images taken with the Grism-1 or Grism-2 filters. These plots show spectra (either count rates or flux) and the background count rates. omgrismplotplot can be used to display a single spectrum or multiple spectra, produced by omgrism.

The input FITS files must contain net count rates, background count rates and the associated errors. The spectra must follow a regular binning scheme (i.e. equispaced wavelength bins).

omgrismplot allows the user to input the device type (e.g. Xwindow, Postscript, ...) for output. The y-scale of the background counts can be forced to be the same as the source counts by setting the parameter `bkgdyscale' to `yes'. Otherwise the y-axis is scaled to the most appropriate value for the background counts.

The spectra curves can be rebinned if necessary in order to limit the number of plotted data points to 500.



XMM-Newton SOC/SSC -- 2019-06-02