SPLOT

Generates plot of spectra with overlaid fits

Invocation

CALL SPLOT( STATUS )

Arguments

Description

Obtains observed data (with instrument response if present) and fit model from the environment, and produces a GRAFIX dataset of data with model overlaid. This can be done rigorously in the data space, or (in the case where model and data spaces are distict; i.e. instrument folding has taken place) with some approximation in the model space, or both, according to the plot mode selected: Mode D/C........................... data/channel space plot Mode P ............................ photon space plot Mode DP ........................... both data and model plots Mode DPR......... ................. data and model with residuals Mode R............................. data space residuals (only) If multiple datasets are entered then all are displayed. For the spectral fitting case, a redshift may be included. The model is then interpreted as applying in the source frame, but the model space spectrum displayed is that observed in the earth frame (i.e. flux from blue shifted source energy bins is mapped onto the corresponding unshifted rest frame bins. Note - no special treatment is required for data which has been likelihood fitted - it is assumed that the dataset given is b/g-subtracted, so plotting is unaffected.

References

ALGORITHM CODE