Pychelle debugging
Sawtooth pattern
This pattern emerges due to the discretized nature of the pixels on the detector. In addition to producing integer numbered counts, the physical, non-infinitesimal size of each pixel results in over-integration or under-integration of the counts as the sub-pixel precision trace function moves across the image. "Sub-pixel precision" meaning that the trace function can include decimal places while the pixels only report integer (X,Y) positions.
The sharpness of the sawtooth pattern seen across the detector may depend on how curved the trace function is. The pattern begins to disappear at sufficiently wide integration widths because the amount of light in the inter-order regions is reduced to the bias or detector noise level and is no longer correlated with the order or the trace function.