This repository contains calibration files for the FPS, including positioner metrology, wok measurements, and optic fibre assemblies.
To use this product git clone it and then add its path to $FPS_CALIBRATIONS_DIR
. To be able to get the version of the calibrations, add the same path to $PYTHONPATH
then do
>>> import fps_calibrations
>>> fps_calibrations.get_version()
'0.1.1+04b4763'
The version will include the Git hash unless the product is not a Git repository (e.g., if the .git
directory has been removed) or if the HEAD matches a tag.
Finally, if you want to use the wok calibrations, set the environment variable $WOKCALIB_DIR
to the path of the calibration to use, for example export WOKCALIB_DIR=$FPS_CALIBRATIONS_DIR/apo/wok_calibs/sloanFlatCMM
. It's possible to have multiple wok calibrations loaded, e.g. export WOKCALIB_DIR=$FPS_CALIBRATIONS_DIR/apo/wok_calibs/sloanFlatCMM:$FPS_CALIBRATIONS_DIR/lco/wok_calibs/duPontFlatCMM
.