pttools-gw

Simulation software for phase transitions in the early universe

https://github.com/cft-hy/pttools

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

cosmology gravitational-waves hydrodynamics phase-transitions relativistic-hydrodynamics
Last synced: 6 months ago · JSON representation ·

Repository

Simulation software for phase transitions in the early universe

Basic Info
Statistics
  • Stars: 7
  • Watchers: 4
  • Forks: 0
  • Open Issues: 1
  • Releases: 2
Topics
cosmology gravitational-waves hydrodynamics phase-transitions relativistic-hydrodynamics
Created over 4 years ago · Last pushed 6 months ago
Metadata Files
Readme License Citation Authors Codemeta

README.md

PTtools

DOI 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: 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

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?

Example figures

Fluid velocity profiles Fluid velocity profiles

Gravitational wave power spectra Gravitational wave power spectra

Owner

  • Name: Computational Field Theory
  • Login: CFT-HY
  • Kind: organization

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
enhancement (1)
Pull Request Labels
documentation (2) enhancement (2)

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

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 12 Last month
Rankings
Dependent packages count: 9.2%
Average: 30.5%
Dependent repos count: 51.8%
Last synced: 6 months ago

Dependencies

.github/workflows/deploy.yml actions
  • 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
.github/workflows/docs.yml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • actions/upload-artifact v2 composite
.github/workflows/mac.yml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • actions/upload-artifact v2 composite
.github/workflows/main.yml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • actions/upload-artifact v2 composite
  • codecov/codecov-action v1 composite
.github/workflows/remove-old-artifacts.yml actions
  • c-hive/gha-remove-artifacts v1 composite
.github/workflows/windows.yml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • actions/upload-artifact v2 composite
Dockerfile docker
  • python 3.9 build
docs/requirements.txt pypi
  • sphinx *
  • sphinx-math-dollar *
  • sphinx-rtd-theme *
pyproject.toml pypi
requirements-dev.txt pypi
  • 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
requirements-old.txt pypi
  • NumbaLSODA *
  • icc-rt *
  • llvmlite ==0.29.0
  • matplotlib *
  • numba ==0.45.1
  • numpy ==1.19.0
  • scipy *
  • tbb *
requirements.txt pypi
  • NumbaLSODA *
  • icc-rt *
  • intel-openmp *
  • matplotlib *
  • numba *
  • numpy *
  • scipy *
  • tbb *
environment.yml conda
  • matplotlib
  • numba
  • numpy
  • python >=3.6
  • scipy
  • tbb