Skip to main content

Author homepage: http://sjbyrnes.com

Package home at PyPI: http://pypi.python.org/pypi/tmm

Package home at Github: https://github.com/sbyrnes321/tmm

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, https://pypi.python.org/pypi/colorpy).

For more information, see manual.pdf. For the list of all functions and how to call them, just browse the source code, everything has docstrings. For physics-based explanations and derivations of the various formulas calculated by this package, see: https://arxiv.org/abs/1603.02720 .

Tested in Python 3. It probably works in Python 2, or maybe not, I haven’t checked in a long time. If you want to do color calculations in Python 3, you need to use the Python-3-compatible version of colorpy here.

Metadata

Release files for tmm 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tmm 0.2.0
File Size Uploaded
tmm-0.2.0.tar.gz 285.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tmm 0.2.0
File Interpreter ABI Platform
tmm-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 570.8 kB

Release files / tmm-0.2.0.tar.gz

Download URL tmm-0.2.0.tar.gz
Size 285.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2982683aab12b5bb1ee9910a44d7c6421885ab581d22bebb615351dd70cb8ced
BLAKE2b-256 checksum
How to use checksums
927c6ba055c61c04cf5b1b73cb91407c220b0f1712e3bad4f14edf4a4f9af9b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.10

Release files / tmm-0.2.0-py3-none-any.whl

Download URL tmm-0.2.0-py3-none-any.whl
Size 285.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f0cde811e0785b2c13887e8d12a4d089d028d3b19c67ae280f97587ad557f724
BLAKE2b-256 checksum
How to use checksums
641cbd81a37ff4db724957159e3d4badaa1c639e7f6465d541e307bc3fac669e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.10

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.9

2 release files

0.1.8

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page