Order-sorting image
The image in order*wavelength (x-axis) vs diffraction order (y-axis) defined by grating wavelength (m*lambda) divided by CCD "wavelength" (hc/ENERGY). Order-sorting by tg_resolve_events selects the order limits as shown on the left ("123" plot). On the right ("all") is the unfiltered order. These are useful for assessing calibration issues (CCD gain), zeroth order position error, or source confusion. The orders in this diagram should be horizontal, and the bright horizontal order should not be clipped, compared to the "all" panel. HEG is on the top, MEG on the bottom