desihub / desispec

DESI spectral pipeline
BSD 3-Clause "New" or "Revised" License
33 stars 24 forks source link

plot_fiber_traces --fibers allow true fiber numbers, not just 0-499 #2289

Open sbailey opened 4 days ago

sbailey commented 4 days ago

This PR updates plot_fiber_traces --fibers to accept "true" fiber numbers 0-4999, not just the index per camera 0-499. e.g. this fails in main but now works on this branch:

plot_fiber_traces -i exposures/20220102/00116442/psf-z1-00116442.fits \
  --image preproc/20220102/00116442/preproc-z1-00116442.fits.gz \
  --zscale --fibers 551

Previously this would have required --fibers 51 instead. That's not too hard in this case, but it's a pain when cutting-and-pasting lists of bad fibers from other cases, e.g. issue #2288 .

Caveats: