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 select the output format (e.g. pdf, Xwindow, Postscript) for output. For Postscript output the plotfile should be specified with the extension ".ps". A PDF format file is also generated. If plotfile is set with the extension ".pdf" then the Postscript file will not be generated. 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 -- 2023-04-16