:orphan: Example gallery of PySRW ======================== A collection of samples to show the main features of the PySRW module. Explore these examples to become familiar with the main functionalities of PySRW. Comments will guide you through the simulations. If you'd like more information about a particular object, refer to the :ref:`API documentation `! .. warning:: These scripts can run on a mid-level machine (4GB RAM - 4 cores) in a reasonable time, a few minutes at most. Changing simulation parameters may result in significantly longer and resource-intensive simulations or could even produce incorrect outputs. Use these scripts as a playground to become familiar with the pros and cons of SRW. .. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_power_density_thumb.png :alt: :ref:`sphx_glr_examples_power_density.py` .. raw:: html
Synchrotron Radiation power density
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_coordinates_thumb.png :alt: :ref:`sphx_glr_examples_coordinates.py` .. raw:: html
Coordinates
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_point_source_thumb.png :alt: :ref:`sphx_glr_examples_point_source.py` .. raw:: html
Point source
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_gaussian_beam_thumb.png :alt: :ref:`sphx_glr_examples_gaussian_beam.py` .. raw:: html
Gaussian beam
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_custom_magnet_thumb.png :alt: :ref:`sphx_glr_examples_custom_magnet.py` .. raw:: html
Custom magnet
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_transmission_element_thumb.png :alt: :ref:`sphx_glr_examples_transmission_element.py` .. raw:: html
Transmission element
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_simple_propagation_thumb.png :alt: :ref:`sphx_glr_examples_simple_propagation.py` .. raw:: html
Simple propagation
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_simple_undulator_thumb.png :alt: :ref:`sphx_glr_examples_simple_undulator.py` .. raw:: html
Simple planar undulator
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_spectrum_thumb.png :alt: :ref:`sphx_glr_examples_spectrum.py` .. raw:: html
Spectrum
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_lhc_source_thumb.gif :alt: :ref:`sphx_glr_examples_lhc_source.py` .. raw:: html
LHC source
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_simple_dipole_thumb.png :alt: :ref:`sphx_glr_examples_simple_dipole.py` .. raw:: html
Simple dipole magnet
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_interferometer_thumb.png :alt: :ref:`sphx_glr_examples_interferometer.py` .. raw:: html
Interferometer
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_helical_undulator_thumb.png :alt: :ref:`sphx_glr_examples_helical_undulator.py` .. raw:: html
Helical undulator
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /examples/power_density /examples/coordinates /examples/point_source /examples/gaussian_beam /examples/custom_magnet /examples/transmission_element /examples/simple_propagation /examples/simple_undulator /examples/spectrum /examples/lhc_source /examples/simple_dipole /examples/interferometer /examples/helical_undulator .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-gallery .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: examples_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: examples_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_