...
Locating the Order Boundaries
Generating Flat Fields
The next step is to generate the pixel flat field and slit illumination images. The pixel flat corrects gain variations on the detector, and the illumination function corrects for the fact that the internal quartz lamp has a slight gradient in intensity across the slit (~5%).
...