desihub / desimeter

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

Add Desimeter class; add script for updating positions of fiducials #147

Closed dstndstn closed 3 years ago

dstndstn commented 3 years ago

This adds a Desimeter class, where we can pass in a directory containing all the calibration products, and tthey get read on creation of a Desimeter object. Some of the core procedures then become methods in the Desimeter class, where it passes its calib objects into the low-level functions. After manipulating a Desimeter object's calibration products, you can write out the new values to a new directory, and then use that in future work.

Another feature is the Desimeter.find_file() function, which just standardizes directory structures and makes it easier to retrieve raw data, processed intermediate files, and results.

Also adds py/scripts/fiducial_systematics.py, which analyses sets of FVC images to find consistent offsets of the fiducials from their metrology-predicted values.