desihub / desimeter

DESI coordinates and transformations
BSD 3-Clause "New" or "Revised" License
2 stars 4 forks source link

matched fiducial but unset PINHOLE_ID #19

Open sbailey opened 4 years ago

sbailey commented 4 years ago
basedir=/project/projectdirs/desi/spectro/data/20200107/00038674
desi_fvc_proc \
  --infile $basedir/fvc-00038674.fits.fz \
  --expected $basedir/coordinates-00038674.fits \
  --outfile spots-00038674.csv

PETAL_LOC=0 DEVICE_LOC=533 is matched, but with PINHOLE_ID=0 for all 4 spots.

x = Table.read('spots-00038674.csv')                                                                                                  
x['XPIX', 'YPIX', 'PETAL_LOC', 'DEVICE_LOC', 'PINHOLE_ID'][x['LOCATION'] == 533]                                                      

<Table length=4>
       XPIX               YPIX        PETAL_LOC DEVICE_LOC PINHOLE_ID
     float64            float64         int64     int64      int64   
------------------ ------------------ --------- ---------- ----------
 2689.077254236983  474.1507123657714         0        533          0
2688.0201166683487 479.83004331316874         0        533          0
 2693.642353089485 482.22714056577547         0        533          0
2686.9455325543513 485.50391201761533         0        533          0

i.e. it seems to be successfully matching those pinholes to the correct device location (they aren't just unmatched spots) but the pinhole IDs aren't being set. Why?

image

sbailey commented 4 years ago

more info: this particular DEVICE_LOC=533 is an "OPT" location in DESI-0530, which has a fiducial installed on PETAL_LOC=0 but not on other petals (at least not on all of the others).