PyLlama: a stable and versatile Python toolkit for the electromagnetic modeling of multilayered anisotropic media
M\'elanie M. Bay, Silvia Vignolini, Kevin Vynck

TL;DR
PyLlama is a Python toolkit that accurately models electromagnetic properties of multilayered anisotropic media using stable matrix methods, facilitating diverse applications in optics and material science.
Contribution
It introduces a numerically stable scattering matrix implementation in Python for electromagnetic modeling of complex multilayered anisotropic media.
Findings
Validated against analytical solutions
Demonstrated stability with thick, birefringent structures
Versatile for various optical applications
Abstract
PyLlama is a handy Python toolkit to compute the electromagnetic reflection and transmission properties of arbitrary multilayered linear media, including the case of anisotropy. Relying on a -matrix formalism, PyLlama implements not only the transfer matrix method, that is the most popular choice in existing codes, but also the scattering matrix method, which is numerically stable in all situations (e.g., thick, highly birefringent cholesteric structures at grazing incident angles). PyLlama is also designed to suit the practical needs by allowing the user to create, edit and assemble layers or multilayered domains with great ease. In this article, we present the electromagnetic theory underlying the transfer matrix and scattering matrix methods and outline the architecture and main features of PyLlama. Finally, we validate the code by comparison with available analytical…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsPhotonic Crystals and Applications · Optical Coatings and Gratings · Liquid Crystal Research Advancements
