skip to navigation
skip to content

tmm 0.1.4

Simulate light propagation in multilayer thin and/or thick films using the fresnel equations and transfer matrix method.

Package Documentation

Author homepage:

Package home at PyPI:

Package home at Github:

This is a group of programs written in Python / NumPy for simulating light propagation in planar multilayer thin films, including the effects of multiple internal reflections and interference, using the “Transfer Matrix Method”. It can also simulate combinations of thin and thick films (e.g. a thick piece of glass with a multi-layer antireflection coating on one side and a mirror on the other side), or purely thick films.

In addition to calculating how much light is transmitted and reflected, the program can calculate, at any given point in the structure, how much light is being absorbed there. This is a very important feature for solar-cell modeling, for example.

It can also calculate the parameters measured in ellipsometry. It can also calculate the RGB or xyY color of a multilayer thin film (this requires colorpy,

For more information, see manual.pdf . Get it directly at . For the list of all functions and how to call them, browse the source code or go to

Tested in Python 2.7 and 3.3. (If you want to do color calculations in Python 3, you need to use the Python-3-compatible version of colorpy here.)

File Type Py Version Uploaded on Size
tmm-0.1.4.tar.gz (md5) Source 2014-09-10 452KB
  • Downloads (All Versions):
  • 0 downloads in the last day
  • 7 downloads in the last week
  • 300 downloads in the last month