Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.dev12-cp313-cp313-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.13Windows x86-64

treams-0.4.7.dev12-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.dev12-cp313-cp313-macosx_11_0_arm64.whl (965.6 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

treams-0.4.7.dev12-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.dev12-cp312-cp312-macosx_11_0_arm64.whl (969.4 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

treams-0.4.7.dev12-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.dev12-cp311-cp311-macosx_11_0_arm64.whl (965.2 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

treams-0.4.7.dev12-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.dev12-cp310-cp310-macosx_11_0_arm64.whl (970.4 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

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

Uploaded CPython 3.9Windows x86-64

treams-0.4.7.dev12-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.dev12-cp39-cp39-macosx_11_0_arm64.whl (974.6 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for treams-0.4.7.dev12-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4b20a06b7210ffd821f51fc0a6161f99288983cf76c5106ff9ba88f526963758
MD5 2ef52266567e3262ce6724fcc1c503c9
BLAKE2b-256 3c653ebf94905d8f82e7d3e64d96b58c8815de8742d44498ac419c02d7a3a78f

See more details on using hashes here.

File details

Details for the file treams-0.4.7.dev12-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.dev12-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 41f023aa5e9de1b19da33474704a81c25e1c4f501ff5311154c671e4f9a24801
MD5 545c8e535f531e49ea273183ad8258ab
BLAKE2b-256 95d03b32818536be7a02ea69f99fa35403d957e3a49c6d44e1787b36fd210842

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for treams-0.4.7.dev12-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b1015f1941303cb3efa59303a0aae9ff9fd42dbbc3cc54a91edf96c7a59bd529
MD5 42a0fb1d3f7ab4c95ba77d39bf6329b5
BLAKE2b-256 401b25ed3748ebc33864f8ab1a4992d5e059032028755b5b384f50c2be4a2b0f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for treams-0.4.7.dev12-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 2837e3992ab9d24375eedd02dd2ce5a41ba700cb0ffe15c33bc7af8d1965156f
MD5 4f0e6e9269a549e6bbfc469cfbe83f07
BLAKE2b-256 bf111f819b0977aa22904af0e980855f138daa7d664508027dc649a2e4c91309

See more details on using hashes here.

File details

Details for the file treams-0.4.7.dev12-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.dev12-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 490b12cb1b24a73cf14b05ff203ce602a996a7e35afd9a8a09051c53070878db
MD5 4da95f5fb807ccec064cfa0399cf9921
BLAKE2b-256 18ed75b3adc187e3885c7229abbfec74a8275db2e7045d3961db8edc6c2a338e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for treams-0.4.7.dev12-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f9a30dc9d7d4fb0e87a86a7326b935d73352993a69507cf37157f00638388712
MD5 3b2d7b8e7ae1152531c9cb3822e5ff7b
BLAKE2b-256 7dfa320b17aa9b8cd7e21c93856faccc31ee528fd005e003ff92120e850b69e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for treams-0.4.7.dev12-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7b73682d440525fd73ac708a25cd14276a11f455780073ea7f6dce8826c9def5
MD5 1cba16c3f472d3e44337ac9d7ee7d8ad
BLAKE2b-256 7f60489e052f3e1b8bd6ecefa5d9318023ad65a11d400f6703499b98889b3f74

See more details on using hashes here.

File details

Details for the file treams-0.4.7.dev12-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.dev12-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bca1bb9a3a2339cbbca0b0b511a7258c56c04085b4772f10a07d0294302f7e09
MD5 b1401f429be30b332f4d6656d48261a7
BLAKE2b-256 ed4eeb1a2e34db2db49c572b8d1aa26a4168f7c991cef481c061a90b3404a0e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for treams-0.4.7.dev12-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d60b70f9b3ab6e5b50f8534f14a1dccb7face8392d0f763d16d0214624da0e0d
MD5 6d954ff14bad99aa026fa927f249e57a
BLAKE2b-256 779d7ab8827c6c7064763485104076080234dae2c28662cce4bb49dbe1364582

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for treams-0.4.7.dev12-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 0d7499c63a6614ca10cd67e85b71ceee5abacd000814bac8adf011bb6493d670
MD5 7794146a7d5480da512595c6175aacbd
BLAKE2b-256 72ef267a6d41e5b6f1ed0693f597f12ab681975c270e73ed0cf4b5dc351341c0

See more details on using hashes here.

File details

Details for the file treams-0.4.7.dev12-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.dev12-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f7e7bd388d3ac970da9301c8a3aacc72fc54362c2fb8c106c331425323467d7d
MD5 acb65908defdc20e8c6b10ae7ac9c350
BLAKE2b-256 f884ee77104a2602184f11c368dfdd8ee820c72e29fcb0c3d04cd6b1658ca2d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for treams-0.4.7.dev12-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4b1f923fc52e06ce76aba60d664319c435078d648dfe2b5788878d52f7d1e3fc
MD5 8b5ef8b97863891496f5f63b307410e4
BLAKE2b-256 b7f6cb2c8bc419aacd90ff5aa1662b85e47d878d604ae9da533ca46cc617f451

See more details on using hashes here.

File details

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

File metadata

  • Download URL: treams-0.4.7.dev12-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.dev12-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 c251614db591e9a1b2ac732b3185c7f7f4385f701236687e75b957eab62fa62d
MD5 9fcdcae83214793bdaf7ca450e6f6011
BLAKE2b-256 91e99bd18f03acc15031df050dd8d13e07de61cb182d2b9ea1e02871742b2637

See more details on using hashes here.

File details

Details for the file treams-0.4.7.dev12-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.dev12-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e802aa13d2522680e15b6fb5ca0cf0a9f3c4222b21a3d4429c5237425c4ac18c
MD5 95de4e4e5cc1579b717f9e56045c226b
BLAKE2b-256 d22d937d87264418c1a060a5f20b42fa79d19c965548e1bc5a9dbdd6f86ffb92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for treams-0.4.7.dev12-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bbe366d22acfb983bf5dcbdfa0d0a0b311d8cc0fc6153bd9e9dcf6c9f74bdbe4
MD5 614fc839d750754da72cbcc256fb2e25
BLAKE2b-256 0889dc373c3d3838f305a7c045dfad800b96190c265b18c1d3ebea4b6eb8b166

See more details on using hashes here.

Release history Release notifications | RSS feed

0.4.7

15 files

This release

0.4.7.dev12 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