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

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

treams-0.4.7-cp313-cp313-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.13Windows x86-64

treams-0.4.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (5.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

treams-0.4.7-cp313-cp313-macosx_11_0_arm64.whl (965.5 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

treams-0.4.7-cp312-cp312-win_amd64.whl (1.5 MB view details)

Uploaded CPython 3.12Windows x86-64

treams-0.4.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (5.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

treams-0.4.7-cp312-cp312-macosx_11_0_arm64.whl (969.3 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

treams-0.4.7-cp311-cp311-win_amd64.whl (1.5 MB view details)

Uploaded CPython 3.11Windows x86-64

treams-0.4.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (5.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

treams-0.4.7-cp311-cp311-macosx_11_0_arm64.whl (965.1 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

treams-0.4.7-cp310-cp310-win_amd64.whl (1.5 MB view details)

Uploaded CPython 3.10Windows x86-64

treams-0.4.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (5.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

treams-0.4.7-cp310-cp310-macosx_11_0_arm64.whl (970.3 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

treams-0.4.7-cp39-cp39-win_amd64.whl (1.5 MB view details)

Uploaded CPython 3.9Windows x86-64

treams-0.4.7-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (5.2 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

treams-0.4.7-cp39-cp39-macosx_11_0_arm64.whl (974.5 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

Details for the file treams-0.4.7-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: treams-0.4.7-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for treams-0.4.7-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 67b989d5fed190bfb395f88af08bb4da466a9a00f863860d81bcd2b164ec554a
MD5 338f6848e0d449578ee92c2d3e62e67e
BLAKE2b-256 fab2ab6cff801c70ced561f587ec22c57665c2341590a763ed30eeb272b5c323

See more details on using hashes here.

File details

Details for the file treams-0.4.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for treams-0.4.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 150b33bacb95cc5234eedc6c9b875fb4ea96d700fdd688be4c0efcf202bb24c5
MD5 bfee8fdcd86e2816a81847619cba21b5
BLAKE2b-256 27e03940cfeb37a2a902f3c227c8dfe031be28b07cdeb39891c43a41a086d0ca

See more details on using hashes here.

File details

Details for the file treams-0.4.7-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for treams-0.4.7-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9fd96677fbb884fe4e9d8ec5842ceaaaf281410e37520728b254892dc280fdc1
MD5 5d63bbed6cabb368d5afe3f51cd20dac
BLAKE2b-256 08fd22c75947c4b38a9a62bae30bc07c3b5c0a8309cd82ac6e8dba997fc22799

See more details on using hashes here.

File details

Details for the file treams-0.4.7-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: treams-0.4.7-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for treams-0.4.7-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 3a0913078403169d27c5162f1f6be0de31d15edea776e30cb7e94795b2b51b03
MD5 335e06cf933deb80f20c93132e8c4ce9
BLAKE2b-256 ec77275d66977a09b503eee536ca8f274437922abb93033853bc19a9ae5e67dc

See more details on using hashes here.

File details

Details for the file treams-0.4.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for treams-0.4.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 faeb340738f75ade03e617e611a571bf9f88e34adb03d8ed5143bcc8493f109d
MD5 4efd40451273743b69f29eacc8e07810
BLAKE2b-256 1b8a141f25981b2622e682b7cbd583c1028277b280e280390abfa673a09a2292

See more details on using hashes here.

File details

Details for the file treams-0.4.7-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for treams-0.4.7-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1a3708393b3c156baeb2c32f68de54ac8aed236aed861b8c43a0719694e94a22
MD5 b6b08d6117fba7f8b2c560b6ed6b243f
BLAKE2b-256 1276d71df14caad1110f5b38864be5bb51cd0270b2ae6dfdfa62e3b450ce52a6

See more details on using hashes here.

File details

Details for the file treams-0.4.7-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: treams-0.4.7-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for treams-0.4.7-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b209c1188647af4e77346a81f6f47d8a1e93b32e27d6fd8f4d40560525cdc289
MD5 1229c9a85da8fa1ef1d4adcaecdd7e97
BLAKE2b-256 8e5ca4461118759cbaca377c1a70077f8618e3fc6e75e60f0ff00a2b493ec032

See more details on using hashes here.

File details

Details for the file treams-0.4.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for treams-0.4.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 29d247675f2cb233eebc4ca2e03c45a138a76c959f933a66134bbecbb71392c0
MD5 92f145ac73f16c495a540228f3b8e357
BLAKE2b-256 0b01b821069ae2a9da276863e192724f8b2b94a4e175233d5e48640b974cc671

See more details on using hashes here.

File details

Details for the file treams-0.4.7-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for treams-0.4.7-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 58dc9ca08bb4e4a1010e6a4be92c0605a73b95e5045f517fc0fb16be543ccb04
MD5 d1b27b1b272567e2ea4ec68bf0a42ff7
BLAKE2b-256 462bc0ddc0218c278ec38c0ee5137e139ceb16af6cda6bc79267fd2c288b5780

See more details on using hashes here.

File details

Details for the file treams-0.4.7-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: treams-0.4.7-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for treams-0.4.7-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 a1f0c9bd60d548f9fe9add9d5c2666784e8da59dd2e58dcb29ca4a55406d1674
MD5 2b5901967090b183fad207fa3d2198d0
BLAKE2b-256 3db11fffba56be471a991cceaf2313bf5b8b4175ae0bc7157dd6bb6ce51fb338

See more details on using hashes here.

File details

Details for the file treams-0.4.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for treams-0.4.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 134a7f5535b09f0818e2fae7e7f0f10b313d74813758a06bd61f80694cf57285
MD5 04748ac8f5050a3e68b35d69b2d28677
BLAKE2b-256 41343ebc62726cbcde0e05d6b85eff898055cc344a1bac9b89a97ed3165e52f5

See more details on using hashes here.

File details

Details for the file treams-0.4.7-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for treams-0.4.7-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e9fc520b4c34a6cc7be9af2224c289f881a64082b7c4c70b1ea60d1ce80d2872
MD5 7b5045e564e3c3ccc8c0c06ef64a1b92
BLAKE2b-256 ca74d5cdf0cf0e4d5734817d77a1e73773ebaeef1f6097116eb89f4dd83b6a9d

See more details on using hashes here.

File details

Details for the file treams-0.4.7-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: treams-0.4.7-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for treams-0.4.7-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 bf0150b4cfdf0f80dd7a38d12f1dd0cde6660004a6b18911e8b955d84eb3b751
MD5 a8ebf58a80ab939793ab32d9c9d5391b
BLAKE2b-256 166cc3f424b3d311da7853d00704348b5b1e91bdd10542d893fc9bec0adbfa43

See more details on using hashes here.

File details

Details for the file treams-0.4.7-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for treams-0.4.7-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b86180fd98c99495d9a4ed4be6ec9c42a508bf1a6a2d23e606688a494f0008dd
MD5 dae0ddc8e79c316daaeb552434792d15
BLAKE2b-256 ef157f79cd0ae587b7f0ebbe9d9de8a0667fb48b7d60c6fe7869c2974e490e4b

See more details on using hashes here.

File details

Details for the file treams-0.4.7-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for treams-0.4.7-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 03d8292ab722b299244711d0f7b7cce21806e9b1dbee8463c1677d4f0088ca63
MD5 df8051dac139cefcf0b4fbf7329483a7
BLAKE2b-256 1d3346179982626cc1df46f34389e6a3298ead66ae1b233d25fd904ae3ae3f66

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.7 This release

15 files

0.4.5

18 files

0.4.4

15 files

0.4.3

15 files

0.4.2

15 files

0.4.1

13 files

0.4.0

13 files

0.3.2

13 files

0.3.1

13 files

0.3.0

3 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page