Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

openTMM is an object-oriented electrodynamic S-matrix (transfer matrix) code with modern applications.

Project Description

Electromagnetic wave propagation through planar stratified media (multilayer stack); the three-dimensional space is divided into layers. The interfaces separating the layers are assumed to be perfectly planar and the layers are assumed to be isotropic and homogeneous, with a complex permittivity and permeability. Moreover, the layers may be composed of a left-handed material (negative refractive material) and/or a right-handed material. The implementation is suitable for the study of modern applications, e.g., Anderson localization of light and sub-wavelength imaging.

For more details see our preprint, openTMMpreprint.pdf, which is distributed with the source code. The preprint was also published in the Journal of Computational Physics (2012) 231:14, 4823-4835.

  • Changed standard transfer matrix alg. to S-matrix alg. The solution should now be numerically stable in presence of large absorption.
  • Rewrote openTMMpreprint.pdf. It now includes a discussion of different transfer matrix algorithms and performance comparison of python to Fortran 90/95 as well as numerical stability tests.
Release History

Release History

This version
History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
openTMM-0.1.0.tar.gz (523.7 kB) Copy SHA256 Checksum SHA256 Source Nov 24, 2011
openTMM-0.1.0.win32-py2.6.exe (737.9 kB) Copy SHA256 Checksum SHA256 2.6 Windows Installer Nov 24, 2011
openTMM-0.1.0.win32-py2.7.exe (739.7 kB) Copy SHA256 Checksum SHA256 2.7 Windows Installer Nov 24, 2011
openTMM-0.1.0.win32-py2.7_static32.exe (739.5 kB) Copy SHA256 Checksum SHA256 2.7 Windows Installer Oct 15, 2015 (798.6 kB) Copy SHA256 Checksum SHA256 2.7 Windows Installer Oct 15, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting