Supporting code to the rsta.2021.0130 publication on betalight calibration. Further details are in the notebook.