The package treams provides a framework to simplify computations of the
electromagnetic scattering of waves at finite and at periodic arrangements of particles
based on the T-matrix method.
To install the package with pip, use
pip install treamsThis will make sure to also install all required dependencies (i.e. numpy and scipy). Please ignore the requirements.txt, as they only serve to instruct binder which packages to install to run the documentation notebooks interactively.
If you're using the system wide installed version of python, you might consider the
--user option.
The documentation can be found at https://tfp-photonics.github.io/treams.
When using this code please cite:
Other relevant publications are
- D. Beutel, I. Fernandez-Corbaton, and C. Rockstuhl, Unified Lattice Sums Accommodating Multiple Sublattices for Solutions of the Helmholtz Equation in Two and Three Dimensions, Phys. Rev. A 107, 013508 (2023).
- D. Beutel, P. Scott, M. Wegener, C. Rockstuhl, and I. Fernandez-Corbaton, Enhancing the Optical Rotation of Chiral Molecules Using Helicity Preserving All-Dielectric Metasurfaces, Appl. Phys. Lett. 118, 221108 (2021).
- D. Beutel, A. Groner, C. Rockstuhl, C. Rockstuhl, and I. Fernandez-Corbaton, Efficient Simulation of Biperiodic, Layered Structures Based on the T-Matrix Method, J. Opt. Soc. Am. B, JOSAB 38, 1782 (2021).
- T-matrix calculations using a spherical or cylindrical wave basis set
- Calculations in helicity and parity (TE/TM) basis
- Scattering from clusters of particles
- Scattering from particles and clusters arranged in 3d-, 2d-, and 1d-lattices
- Calculation of light propagation in stratified media
- Band calculation in crystal structures