Skip to main content

Version PyPI License build docs doctests tests coverage

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 treams

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

Documentation

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

Publications

When using this code please cite:

D. Beutel, I. Fernandez-Corbaton, and C. Rockstuhl, treams – a T-matrix-based scattering code for nanophotonics, Comp. Phys. Commun. 297, 109076 (2024).

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

Metadata

Release files for treams 0.4.7

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

Built distributions (wheels)

Table of built distributions (wheels) for treams 0.4.7
File
treams-0.4.7-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
treams-0.4.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details
treams-0.4.7-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
treams-0.4.7-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
treams-0.4.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details
treams-0.4.7-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
treams-0.4.7-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
treams-0.4.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details
treams-0.4.7-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
treams-0.4.7-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
treams-0.4.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details
treams-0.4.7-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details
treams-0.4.7-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
treams-0.4.7-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details
treams-0.4.7-cp39-cp39-macosx_11_0_arm64.whl CPython 3.9 CPython 3.9 macOS 11.0+ ARM64 Details

Total release size: 39.5 MB

Release files / treams-0.4.7-cp313-cp313-win_amd64.whl

Download URL treams-0.4.7-cp313-cp313-win_amd64.whl
Size 1.6 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
67b989d5fed190bfb395f88af08bb4da466a9a00f863860d81bcd2b164ec554a
BLAKE2b-256 checksum
How to use checksums
fab2ab6cff801c70ced561f587ec22c57665c2341590a763ed30eeb272b5c323
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / treams-0.4.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL treams-0.4.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 5.5 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
150b33bacb95cc5234eedc6c9b875fb4ea96d700fdd688be4c0efcf202bb24c5
BLAKE2b-256 checksum
How to use checksums
27e03940cfeb37a2a902f3c227c8dfe031be28b07cdeb39891c43a41a086d0ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / treams-0.4.7-cp313-cp313-macosx_11_0_arm64.whl

Download URL treams-0.4.7-cp313-cp313-macosx_11_0_arm64.whl
Size 965.5 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9fd96677fbb884fe4e9d8ec5842ceaaaf281410e37520728b254892dc280fdc1
BLAKE2b-256 checksum
How to use checksums
08fd22c75947c4b38a9a62bae30bc07c3b5c0a8309cd82ac6e8dba997fc22799
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / treams-0.4.7-cp312-cp312-win_amd64.whl

Download URL treams-0.4.7-cp312-cp312-win_amd64.whl
Size 1.5 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
3a0913078403169d27c5162f1f6be0de31d15edea776e30cb7e94795b2b51b03
BLAKE2b-256 checksum
How to use checksums
ec77275d66977a09b503eee536ca8f274437922abb93033853bc19a9ae5e67dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / treams-0.4.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL treams-0.4.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 5.6 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
faeb340738f75ade03e617e611a571bf9f88e34adb03d8ed5143bcc8493f109d
BLAKE2b-256 checksum
How to use checksums
1b8a141f25981b2622e682b7cbd583c1028277b280e280390abfa673a09a2292
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / treams-0.4.7-cp312-cp312-macosx_11_0_arm64.whl

Download URL treams-0.4.7-cp312-cp312-macosx_11_0_arm64.whl
Size 969.3 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1a3708393b3c156baeb2c32f68de54ac8aed236aed861b8c43a0719694e94a22
BLAKE2b-256 checksum
How to use checksums
1276d71df14caad1110f5b38864be5bb51cd0270b2ae6dfdfa62e3b450ce52a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / treams-0.4.7-cp311-cp311-win_amd64.whl

Download URL treams-0.4.7-cp311-cp311-win_amd64.whl
Size 1.5 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
b209c1188647af4e77346a81f6f47d8a1e93b32e27d6fd8f4d40560525cdc289
BLAKE2b-256 checksum
How to use checksums
8e5ca4461118759cbaca377c1a70077f8618e3fc6e75e60f0ff00a2b493ec032
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / treams-0.4.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL treams-0.4.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 5.4 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
29d247675f2cb233eebc4ca2e03c45a138a76c959f933a66134bbecbb71392c0
BLAKE2b-256 checksum
How to use checksums
0b01b821069ae2a9da276863e192724f8b2b94a4e175233d5e48640b974cc671
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / treams-0.4.7-cp311-cp311-macosx_11_0_arm64.whl

Download URL treams-0.4.7-cp311-cp311-macosx_11_0_arm64.whl
Size 965.1 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
58dc9ca08bb4e4a1010e6a4be92c0605a73b95e5045f517fc0fb16be543ccb04
BLAKE2b-256 checksum
How to use checksums
462bc0ddc0218c278ec38c0ee5137e139ceb16af6cda6bc79267fd2c288b5780
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / treams-0.4.7-cp310-cp310-win_amd64.whl

Download URL treams-0.4.7-cp310-cp310-win_amd64.whl
Size 1.5 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
a1f0c9bd60d548f9fe9add9d5c2666784e8da59dd2e58dcb29ca4a55406d1674
BLAKE2b-256 checksum
How to use checksums
3db11fffba56be471a991cceaf2313bf5b8b4175ae0bc7157dd6bb6ce51fb338
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / treams-0.4.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL treams-0.4.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 5.2 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
134a7f5535b09f0818e2fae7e7f0f10b313d74813758a06bd61f80694cf57285
BLAKE2b-256 checksum
How to use checksums
41343ebc62726cbcde0e05d6b85eff898055cc344a1bac9b89a97ed3165e52f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / treams-0.4.7-cp310-cp310-macosx_11_0_arm64.whl

Download URL treams-0.4.7-cp310-cp310-macosx_11_0_arm64.whl
Size 970.3 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e9fc520b4c34a6cc7be9af2224c289f881a64082b7c4c70b1ea60d1ce80d2872
BLAKE2b-256 checksum
How to use checksums
ca74d5cdf0cf0e4d5734817d77a1e73773ebaeef1f6097116eb89f4dd83b6a9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / treams-0.4.7-cp39-cp39-win_amd64.whl

Download URL treams-0.4.7-cp39-cp39-win_amd64.whl
Size 1.5 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
bf0150b4cfdf0f80dd7a38d12f1dd0cde6660004a6b18911e8b955d84eb3b751
BLAKE2b-256 checksum
How to use checksums
166cc3f424b3d311da7853d00704348b5b1e91bdd10542d893fc9bec0adbfa43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / treams-0.4.7-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL treams-0.4.7-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 5.2 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
b86180fd98c99495d9a4ed4be6ec9c42a508bf1a6a2d23e606688a494f0008dd
BLAKE2b-256 checksum
How to use checksums
ef157f79cd0ae587b7f0ebbe9d9de8a0667fb48b7d60c6fe7869c2974e490e4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / treams-0.4.7-cp39-cp39-macosx_11_0_arm64.whl

Download URL treams-0.4.7-cp39-cp39-macosx_11_0_arm64.whl
Size 974.5 kB
Tags CPython 3.9 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
03d8292ab722b299244711d0f7b7cce21806e9b1dbee8463c1677d4f0088ca63
BLAKE2b-256 checksum
How to use checksums
1d3346179982626cc1df46f34389e6a3298ead66ae1b233d25fd904ae3ae3f66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3
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