Supplementary Script 1: scan.py ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. literalinclude:: scan.py :language: python