add option to tune the error threshold to lower the polynomial degree of the trace shifts
add option to tune the error threshold to lower the polynomial degree of the trace shifts

desihub/desispec,desihub/desispec