desihub / specex

DESI spectrograph PSF fitting
BSD 3-Clause "New" or "Revised" License
0 stars 4 forks source link

improve robustness of trace fitting #71

Open sbailey opened 9 months ago

sbailey commented 9 months ago

Night 20231205 arc expid 208156 and 208158 failed due to fiber 885 having a bad trace shift that overlapped fiber 884. This fiber is near a hot column on z1, but most of the fiber is unaffected. The highest wavelengths, however, are masked, resulting in a runaway solution. For now I'll mask this fiber as bad and proceed, but it's unfortunate to permanently discard an entire fiber due to ~100 Angstroms of bad CCD masked data corrupting the trace shifts.

We could have better priors on masked lines to avoid situations like this. In this case, it might even be jumping over to fiber 883 mis-identifying the location of the highest wavelength emission line.

image

sbailey commented 9 months ago

As another test case, 20231205 expid 208159 fiber 575 had a similar problem: image