Skip to main content

PTtools

DOI GitHub ReadTheDocs CI Windows macOS codecov

PTtools is a Python library for calculating hydrodynamical quantities around expanding bubbles of the new phase in an early universe phase transition, and the resulting gravitational wave power spectrum in the Sound Shell Model.

Types of solutions

Installation

PTtools is available on PyPI and can be installed with pip:

pip3 install --upgrade pttools-gw[numbalsoda,performance]

The [numbalsoda] and [performance] dependencies are optional, and you can omit them if they are not available on your platform.

PTtools is also available on Docker Hub and can be installed with:

docker pull cfthy/pttools:main

Documentation

The documentation is available online at Read the Docs. The documentation for previous releases can be found at the releases page. The documentation can also be downloaded from the GitHub Actions results by selecting the latest successful docs workflow and then scrolling down to the artifacts section. There you can find a zip file containing the documentation in various formats.

References

Submodules

  • bubble: Tools for computing the fluid shells (velocity and enthalpy as a function of scaled radius). Also includes some scripts for plotting.
  • omgw0: Tools for converting the GW spectra to frequencies and amplitudes today. Includes utilities for approximations and noise.
  • ssm: Tools for computing the GW spectra from the fluid shells using the Sound Shell Model.
  • speedup: Computational utilities used by the other modules.

Who do I talk to?

Example figures

Fluid velocity profiles Fluid velocity profiles

Gravitational wave power spectra Gravitational wave power spectra

Release files for pttools-gw 0.10.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 pttools-gw 0.10.0
File Size Uploaded
pttools_gw-0.10.0.tar.gz 170.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pttools-gw 0.10.0
File Interpreter ABI Platform
pttools_gw-0.10.0-py3-none-any.whl Python 3 none any Details

Total release size: 385.8 kB

Release files / pttools_gw-0.10.0.tar.gz

Download URL pttools_gw-0.10.0.tar.gz
Size 170.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8e2deae002ae7c81e3551f799780a5d0477c13d41b4aa7ffe9522ec40e16b670
BLAKE2b-256 checksum
How to use checksums
316fd2a5a420d2524cf451f5f3a17f14ec307bb818f49882f8ab022ac823c41b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 23, 2025.

Transparency log

Release files / pttools_gw-0.10.0-py3-none-any.whl

Download URL pttools_gw-0.10.0-py3-none-any.whl
Size 215.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f3d175fbcae2facb9489530488cf64f2800e3b7f4b2403a8f341af9a50cdc31b
BLAKE2b-256 checksum
How to use checksums
326cd536594899d83c24b098162abc1d8fcc8cd57439a1bba567295affc7d515
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 23, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.10.0 This release

2 release files

0.9.0

2 release files

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