Examples
========

These examples are runnable scripts and templates for common pySC workflows.

Simulated commissioning examples
--------------------------------

These examples run against the in-repo HMBA model. Run them from the
``examples/`` directory.

.. toctree::
   :maxdepth: 1

   example_scripts/response_matrices
   example_scripts/correct_injection_1turn
   example_scripts/orbit_bba_first_10_bpms
   example_scripts/orbit_bba_multiple_threads_first_10_bpms
   example_scripts/save_and_reload_sc

Measurements in operation
-------------------------

These examples are templates for using pySC with a real machine or control
system. They require an implemented interface before they can run against
hardware.

.. toctree::
   :maxdepth: 1

   example_scripts/operation_interface
   example_scripts/operation_correct_1st_turn
   example_scripts/operation_correct_orbit
   example_scripts/operation_measure_ORM
   example_scripts/operation_measure_BBA
