treams

"T-matrix scattering code for nanophotonic computations"


License
MIT
Install
pip install treams==0.4.0

Documentation

treams

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.

Installation

Installation using pip

To install the package with pip, use

pip install git+https://github.com/tfp-photonics/treams.git

If you're using the system wide installed version of python, you might consider the --user option.

Running on Windows

For Windows, there are currently two tested ways how to install treams. The first option is using the Windows Subsystem for Linux (WSL). Within WSL treams can be installed just as described above. The second option, that was tested is using MSYS2 with the mingw64 environment. Likely, other python versions based on mingw-w64 might also work.

Documentation

The documentation can be found at https://tfp-photonics.github.io/treams.

Publications

When using this code please cite:

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).

Other relevant publications are

Features

  • 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