Example scripts =============== Complete ``pysimple`` scripts from ``examples/``, run by ``test/python/test_examples.py``. Run them from ``examples/``; they read ``test/test_data/wout.nc``, the equilibrium of :doc:`/getting-started/quickstart`. Surface trace ------------- .. literalinclude:: ../examples/simple_api.py :language: python :caption: examples/simple_api.py Fast classification ------------------- .. literalinclude:: ../examples/classify_fast.py :language: python :caption: examples/classify_fast.py Fractal classification ---------------------- .. literalinclude:: ../examples/classify_fractal.py :language: python :caption: examples/classify_fractal.py Macrostep orbit trace --------------------- .. literalinclude:: ../examples/orbit_macro.py :language: python :caption: examples/orbit_macro.py