Releases: pyMatJ/pyGTM
Layer-Resolved Absorption of Light in Arbitrarily Anisotropic Heterostructures
The attached Python files allow the calculation of layer-resolved absorption and transmittance for any number of arbitrarily anisotropic or isotropic, absorbing and non-absorbing multilayer systems. The formalism builds on the electric field distributions obtained from our 4x4 transfer matrix formalism (Passler and Paarmann, JOSA B 34, 2128 (2017)) in its corrected form (Passler & Paarmann, Erratum, JOSA B 36, 3246 (2019)) with the respective Matlab (zenodo link) and Python (zenodo link) implementations. The code provided here includes the transfer matrix implementation. The respective publication was recently submitted, with its preprint available on the arXiv.
The core of the program lies in the GTM/GTMcore file, and a material database is available in the GTM/Permittivities file. Tutorials and examples are available in examples/, and a documentation can be found thanks to Read The Docs
A Matlab implementation of the same formalism by N.C. Passler an A. Paarman is also available on zenodo.