I've combined the existing Python and MATLAB scripts that are used for calibrating the PSL rotation stage into one cohesive, cleaner Python script: /opt/rtcds/userapps/release/psl/h1/scripts/RotationStage/CalibRotStage.py
The script takes two arguments to run the full process of sweeping the stage and running the calibration fitting: python CalibRotStage.py -m -c
To skip the rotation stage sweep or calibration fitting steps, simply omit the -m or -c arguments, respectively.
The full process for running a PSL rotation stage calibration now goes as follows: