pttools-gw
Simulation software for phase transitions in the early universe
Science Score: 54.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
✓Academic publication links
Links to: arxiv.org, zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.4%) to scientific vocabulary
Keywords
Repository
Simulation software for phase transitions in the early universe
Basic Info
- Host: GitHub
- Owner: CFT-HY
- License: mit
- Language: Python
- Default Branch: main
- Homepage: https://pttools.readthedocs.io
- Size: 1.67 MB
Statistics
- Stars: 7
- Watchers: 4
- Forks: 0
- Open Issues: 1
- Releases: 2
Topics
Metadata Files
README.md
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.

Installation
PTtools is available on PyPI and can be installed with pip:
bash
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:
bash
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
- Mäki: The effect of sound speed on the gravitational wave spectrum of first order phase transitions in the early universe (2024)
- Hindmarsh et al.: Phase transitions in the early universe (2021)
- Hindmarsh & Hijazi: Gravitational waves from first order cosmological phase transitions in the Sound Shell Model (2019)
- Hindmarsh: Sound shell model for acoustic gravitational wave production at a first-order phase transition in the early Universe (2018)
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
- Main developer: Mika Mäki
Example figures
Fluid velocity profiles

Gravitational wave power spectra

Owner
- Name: Computational Field Theory
- Login: CFT-HY
- Kind: organization
- Repositories: 2
- Profile: https://github.com/CFT-HY
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." # When updating these, also update AUTHORS, acknowledgements.rst, codemeta.json and pyproject.toml authors: - family-names: "Hindmarsh" given-names: "Mark" orcid: "https://orcid.org/0000-0002-9307-437X" - family-names: "Hopling" given-names: "Chloe" orcid: "https://orcid.org/0000-0002-7955-4465" - family-names: "Mäki" given-names: "Mika" orcid: "https://orcid.org/0000-0001-8162-7101" title: "PTtools" version: 0.9.0 doi: "https://doi.org/10.5281/zenodo.15268219" date-released: 2025-05-03 url: "https://github.com/CFT-HY/pttools" # preferred-citation: # type: article # authors: # - family-names: "Hindmarsh" # given-names: "Mark" # orcid: "https://orcid.org/0000-0002-9307-437X" # - family-names: "Hijazi" # given-names: "Mulham" # orcid: "https://orcid.org/0000-0002-1941-1518" # doi: "10.1088/1475-7516/2019/12/062" # journal: "Journal of Cosmology and Astroparticle Physics" # month: 12 # start: 62 # end: 62 # title: "Gravitational waves from first order cosmological phase transitions in the Sound Shell Model" # issue: 12 # volume: 2019 # year: 2019
CodeMeta (codemeta.json)
{
"@context": "https://w3id.org/codemeta/3.0",
"type": "SoftwareSourceCode",
"applicationCategory": "Physics",
"author": [
{
"id": "https://orcid.org/0000-0002-9307-437X",
"type": "Person",
"affiliation": {
"type": "Organization",
"name": "Computational Field Theory group, University of Helsinki, University of Sussex"
},
"email": "mark.hindmarsh@helsinki.fi",
"familyName": "Hindmarsh",
"givenName": "Mark"
},
{
"id": "https://orcid.org/0000-0002-7955-4465",
"type": "Person",
"affiliation": {
"type": "Organization",
"name": "University of Sussex"
},
"email": "c.hopling@sussex.ac.uk",
"familyName": "Hopling",
"givenName": "Chloe"
},
{
"id": "https://orcid.org/0000-0001-8162-7101",
"type": "Person",
"affiliation": {
"type": "Organization",
"name": "Computational Field Theory group, University of Helsinki"
},
"email": "mika.x.maki@helsinki.fi",
"familyName": "Mki",
"givenName": "Mika"
}
],
"codeRepository": "git+https://github.com/CFT-HY/pttools.git",
"dateCreated": "2017-06-14",
"dateModified": "2023-01-16",
"datePublished": "2023-01-16",
"description": "PTtools simulation framework for phase transitions in the early universe",
"downloadUrl": "https://github.com/CFT-HY/pttools/releases",
"funder": {
"type": "Organization",
"name": "University of Helsinki, University of Sussex, Academy of Finland, Science and Technology Facilities Council"
},
"identifier": "10.1088/1475-7516/2019/12/062",
"keywords": [
"cosmology",
"phase transitions",
"gravitational waves",
"hydrodynamics",
"relativistic hydrodynamics",
"sound shell model"
],
"license": "https://spdx.org/licenses/MIT",
"name": "PTtools",
"operatingSystem": [
"Linux",
"Windows",
"macOS"
],
"programmingLanguage": "Python",
"relatedLink": "https://pttools.readthedocs.io/",
"version": "0.9.0",
"codemeta:contIntegration": {
"id": "https://github.com/CFT-HY/pttools/actions"
},
"continuousIntegration": "https://github.com/CFT-HY/pttools/actions",
"developmentStatus": "active",
"funding": "Academy of Finland 286769 & 333609, Science and Technology Facilities Council ST/J000477/1, ST/L000504/1",
"issueTracker": "https://github.com/CFT-HY/pttools/issues",
"referencePublication": "https://doi.org/10.1088/1475-7516/2019/12/062"
}
GitHub Events
Total
- Release event: 3
- Watch event: 3
- Delete event: 4
- Issue comment event: 1
- Push event: 44
- Pull request review event: 1
- Pull request event: 1
- Create event: 3
Last Year
- Release event: 3
- Watch event: 3
- Delete event: 4
- Issue comment event: 1
- Push event: 44
- Pull request review event: 1
- Pull request event: 1
- Create event: 3
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 1
- Total pull requests: 4
- Average time to close issues: N/A
- Average time to close pull requests: 8 days
- Total issue authors: 1
- Total pull request authors: 2
- Average comments per issue: 0.0
- Average comments per pull request: 0.5
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: 24 days
- Issue authors: 1
- Pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 0.5
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- AgenttiX (1)
Pull Request Authors
- AgenttiX (3)
- hindmars (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 12 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 1
pypi.org: pttools-gw
PTtools simulation framework for phase transitions in the early universe
- Documentation: https://pttools-gw.readthedocs.io/
- License: mit
-
Latest release: 0.9.0
published 10 months ago
Rankings
Dependencies
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/setup-python v2 composite
- actions/upload-artifact v2 composite
- pypa/gh-action-pypi-publish release/v1 composite
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/setup-python v2 composite
- actions/upload-artifact v2 composite
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/setup-python v2 composite
- actions/upload-artifact v2 composite
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/setup-python v2 composite
- actions/upload-artifact v2 composite
- codecov/codecov-action v1 composite
- c-hive/gha-remove-artifacts v1 composite
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/setup-python v2 composite
- actions/upload-artifact v2 composite
- python 3.9 build
- sphinx *
- sphinx-math-dollar *
- sphinx-rtd-theme *
- allure-pytest * development
- colorama * development
- psutil * development
- pyan3 >=1.1.1, development
- pyinstrument >=3.4.2,<4.0.0 development
- pylint * development
- pytest * development
- pytest-cov * development
- pytest-html * development
- pytest-xdist * development
- yappi * development
- NumbaLSODA *
- icc-rt *
- llvmlite ==0.29.0
- matplotlib *
- numba ==0.45.1
- numpy ==1.19.0
- scipy *
- tbb *
- NumbaLSODA *
- icc-rt *
- intel-openmp *
- matplotlib *
- numba *
- numpy *
- scipy *
- tbb *
- matplotlib
- numba
- numpy
- python >=3.6
- scipy
- tbb