Metadata-Version: 2.4
Name: pttools-gw
Version: 0.9.0
Summary: PTtools simulation framework for phase transitions in the early universe
Author-email: Mark Hindmarsh <mark.hindmarsh@helsinki.fi>, Chloe Hopling <c.hopling@sussex.ac.uk>, Mika Mäki <mika.x.maki@helsinki.fi>
Maintainer-email: Mark Hindmarsh <mark.hindmarsh@helsinki.fi>, Mika Mäki <mika.x.maki@helsinki.fi>
License-Expression: MIT
Project-URL: documentation, https://pttools.readthedocs.io
Project-URL: repository, https://github.com/CFT-HY/pttools
Keywords: cosmology,phase transitions,gravitational waves,hydrodynamics,relativistic hydrodynamics,sound shell model
Classifier: Framework :: Matplotlib
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Physics
Classifier: Topic :: Scientific/Engineering :: Visualization
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: h5py>=3.12.1
Requires-Dist: kaleido>=0.2.1
Requires-Dist: matplotlib>=3.9.2
Requires-Dist: numba>=0.60.0
Requires-Dist: numpy>=2.0.2
Requires-Dist: orjson>=3.10.12
Requires-Dist: plotly>=5.24.1
Requires-Dist: scipy>=1.14.1
Provides-Extra: numbalsoda
Requires-Dist: numbalsoda>=0.3.4; extra == "numbalsoda"
Provides-Extra: performance
Requires-Dist: icc-rt>=2019.0; platform_machine != "arm64" and extra == "performance"
Requires-Dist: intel-openmp>=2020.0.133; (sys_platform == "darwin" and platform_machine != "arm64") and extra == "performance"
Requires-Dist: tbb>=2021.10.0; platform_machine != "arm64" and extra == "performance"
Dynamic: license-file

# PTtools
[![DOI](https://zenodo.org/badge/373413324.svg)](https://zenodo.org/badge/latestdoi/373413324)
[![ReadTheDocs](https://readthedocs.org/projects/pttools/badge/)](https://pttools.readthedocs.io/)
[![CI](https://github.com/CFT-HY/pttools/actions/workflows/main.yml/badge.svg)](https://github.com/CFT-HY/pttools/actions/workflows/main.yml)
[![Windows](https://github.com/CFT-HY/pttools/actions/workflows/windows.yml/badge.svg)](https://github.com/CFT-HY/pttools/actions/workflows/windows.yml)
[![macOS](https://github.com/CFT-HY/pttools/actions/workflows/mac.yml/badge.svg)](https://github.com/CFT-HY/pttools/actions/workflows/mac.yml)
[![codecov](https://codecov.io/gh/CFT-HY/pttools/graph/badge.svg?token=ALFVWC1LZR)](https://codecov.io/gh/CFT-HY/pttools)

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](https://raw.githubusercontent.com/AgenttiX/msc-thesis2/refs/heads/main/msc2-python/fig/relativistic_combustion.png)

### Documentation
The documentation is available online at [Read the Docs](https://pttools.readthedocs.io/).
The documentation for previous releases can be found at the
[releases](https://github.com/CFT-HY/pttools/releases) page.
The documentation can also be downloaded from the
[GitHub Actions results](https://github.com/CFT-HY/pttools/actions)
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
- [Mäki: The effect of sound speed on the gravitational wave spectrum of first order phase transitions in the early universe (2024)](https://github.com/AgenttiX/msc-thesis2)
- [Hindmarsh et al.: Phase transitions in the early universe (2021)](https://arxiv.org/abs/2008.09136)
- [Hindmarsh & Hijazi: Gravitational waves from first order cosmological phase transitions in the Sound Shell Model (2019)](https://arxiv.org/abs/1909.10040)
- [Hindmarsh: Sound shell model for acoustic gravitational wave production at a first-order phase transition in the early Universe (2018)](https://arxiv.org/abs/1608.04735)

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

### Who do I talk to?
- Repo owner: [Mark Hindmarsh](https://github.com/hindmars/)
- Main developer: [Mika Mäki](https://github.com/AgenttiX)

### Example figures
Fluid velocity profiles
![Fluid velocity profiles](https://raw.githubusercontent.com/AgenttiX/msc-thesis2/refs/heads/main/msc2-python/fig/const_cs_gw_v.png)

Gravitational wave power spectra
![Gravitational wave power spectra](https://raw.githubusercontent.com/AgenttiX/msc-thesis2/refs/heads/main/msc2-python/fig/const_cs_gw_omgw0.png)
