Skip to main content

Version PyPI License publish Documentation Status doctests tests coverage

acoustotreams

The package acoustotreams adopts the framework of the treams package for pressure-wave scattering in arrangements of multiple acoustic scatterers, with and without periodic boundary conditions, using the T-matrix method.

Installation

Installation using pip

acoustotreams supports Python 3.9–3.13. We recommend installing it in a virtual environment or a conda environment. Create and activate one with a supported Python version.

Inside an activated environment, install the package with

pip install acoustotreams

or

python -m pip install acoustotreams

Required dependencies (treams, numpy, scipy) are installed automatically. To update later, run python -m pip install --upgrade acoustotreams.

Note: Python 3.14 and newer are not supported yet. With these versions, pip falls back to an outdated release and the installation fails with a compiler error. If your default Python is 3.14 or newer, create the environment with an older version.

Note (Windows): On Windows, use Python 3.9–3.12. treams does not work with NumPy 2 on Windows yet, and NumPy 1.x is not available for Python 3.13.

If you are not using a virtual environment, invoke pip through a supported interpreter directly, for example Python 3.12.

On macOS or Linux:

python3.12 -m pip install acoustotreams

On Windows:

py -3.12 -m pip install acoustotreams

To verify the installation, run

python -c "import acoustotreams; from importlib.metadata import version; print('acoustotreams', version('acoustotreams'))"

Outside a virtual environment, replace python with python3.12 (macOS / Linux) or py -3.12 (Windows). The command should print the latest version listed on PyPI.

Other platforms

Pre-built treams packages are available for Linux (x86_64), macOS (Apple Silicon) and Windows (64-bit). There are none for other platforms, such as Intel Macs or ARM-based Linux, and pip cannot install a working version of treams there automatically. Build treams from source first (requires git and a C compiler), then install acoustotreams.

Documentation

The documentation can be found at https://NikUstimenko.github.io/acoustotreams.

Publications

When using this code, please cite:

N. Ustimenko, and C. Rockstuhl, acoustotreams -- A Python package for acoustic-wave scattering based on the T-matrix method, arXiv 2606.22573 (2026).

The following publications document the developments and methods for different parts of the code:

Features

  • T-matrix calculations using a spherical or cylindrical wave basis set
  • Scattering from clusters of particles
  • Scattering from particles and clusters arranged in 3d-, 2d-, and 1d-lattices
  • Calculation of sound propagation in stratified media
  • Band calculation in crystal structures

Metadata

Release files for acoustotreams 0.2.53

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

Source distribution (sdist)

Source distribution for acoustotreams 0.2.53
File Size Uploaded Provenance Actions
acoustotreams-0.2.53.tar.gz 52.9 kB With provenance Details for acoustotreams-0.2.53.tar.gz

Built distribution (wheel)

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

Total release size: 109.8 kB

Release files / acoustotreams-0.2.53.tar.gz

Download URL acoustotreams-0.2.53.tar.gz
Size 52.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5345fcb970e53ebf923182f1c6b8f70fb0fcfd8857551717a518ca96fe67f0db
BLAKE2b-256 checksum
How to use checksums
4cdafc6c77d945129adfe9170a1f0017673d15842b28fc0e1b4fcefc594bb87b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / acoustotreams-0.2.53-py3-none-any.whl

Download URL acoustotreams-0.2.53-py3-none-any.whl
Size 56.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
01e0faff566e62185ca031bbf05c6b443ee4f05dd1a5d894822d5bfc2e384f23
BLAKE2b-256 checksum
How to use checksums
50c29d21dfaa70f47ad291e8b5c3289ea07aa63565090db5eb99fd28d716e0cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Security for acoustotreams 0.2.53

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for acoustotreams-0.2.53.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.53 This release

2 release files Full provenance

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