The script below puts arbitrary data into a CIF monitor file. .. literalinclude:: example_monitor_insitu.py :linenos: :language: python .. :lines: 1, 3-5 :start-after: 3 :end-before: 5