:orphan: .. _examples-index: Examples ======== Typical examples of application of the package are presented here. You can run them live in your browser on `mybinder.org `_. .. only:: html .. include:: ../_assets/binder_badge.rst .. raw:: html

.. .. An example on how to use various backends and GPU acceleration .. can be run on Google colab .. .. .. .. only:: html .. .. .. image:: https://img.shields.io/badge/open%20in-colab-blue?color=d7a44c&logo=GoogleColab&logoColor=d7a44c&style=for-the-badge .. :target: https://colab.research.google.com/gist/benvial/6109ede2224195294b3cd820a06e9760/protis.ipynb .. :alt: colab .. .. .. .. raw:: html .. ..

..

.. .. raw:: html
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_plot_phc_thumb.png :alt: :ref:`sphx_glr_examples_plot_phc.py` .. raw:: html
Band diagram of 2D photonic crystal
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_plot_chern_thumb.png :alt: :ref:`sphx_glr_examples_plot_chern.py` .. raw:: html
Topological invariants
.. raw:: html
.. only:: html .. image:: /examples/images/thumb/sphx_glr_plot_rbme_thumb.png :alt: :ref:`sphx_glr_examples_plot_rbme.py` .. raw:: html
Reduced Bloch mode expansion
.. raw:: html
.. toctree:: :hidden: /examples/plot_phc /examples/plot_chern /examples/plot_rbme .. 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 `_