Closed
Description
Issue JP-918 was created by James Muzerolle:
There is a possible parity error in the bar shadow correction. Our preliminary validation test shows discrepancies at the edges of MOS spectral traces; I can get much better agreement by reversing the sign of the slit_y parameter in our code. The problem is in the equation for the reference file row index (line 92 in bar_shadow.py), I think the sign in front of "yslit" should be positive, not negative:
yrow = index_of_fiducial_in_array + yslit * shutter_height