Skip to main content

A package for computing the bubble wall speed in cosmological phase transitions.

Project description

WallGo

WallGo

Home: https://wallgo.readthedocs.io

License: GPL3

Summary: A Python package for computing the bubble wall speed for cosmological phase transitions.

Development: https://github.com/Wall-Go/WallGo

Status

Version

WallGo tests (main)

About this project

WallGo is an open source code for the computation of the bubble wall velocity and bubble wall width in first-order cosmological phase transitions. The main WallGo Python package determines the wall velocity and width by solving the scalar field(s) equation of motion, the Boltzmann equations and energy-momentum conservation for the fluid velocity and temperature.

The WallGo package is accompanied by two subsidiary software packages:

  • WallGoMatrix computes the relevant matrix elements for the out-of-equilibrium particles, and is written in Mathematica. It builds on existing Mathematica packages DRalgo and GroupMath.
  • WallGoCollision performs the higher-dimensional integrals to obtain the collision terms in the Boltzmann equations, and is written in C++. It also has Python bindings so that it can be called directly from Python, but still benefits from the speedup from compiled C++ code.

Users can implement their own models by specifying an effective potential and a list of out-of-equilibrium particles and their corresponding interactions.

Installation

WallGo can be installed as a Python package (in developer mode) with pip, using:

python -m pip install -e .

(or equivalent with python3) from the base directory of the repository.

To also install the requirements for tests, linting and the documentation instead run

python -m pip install -e ".[docs,lint,tests]"

Requirements

WallGo is based on Python 3. Necessary requirements are installed automatically with pip. They can be found in the file pyproject.toml.

Tests

Tests can be run from the base directory with:

pytest -v

Examples

A number of example models are collected in the directory Models/, including the following:

  • Standard Model with light Higgs
  • Inert Doublet Model
  • Real singlet scalar extension of the Standard Model
  • Many scalar extension of the Standard Model
  • Yukawa model

After installing the package, these examples can be run directly with Python, as in:

python3 Models/SingletStandardModel_Z2/singletStandardModelZ2.py

Feedback and further questions

For feedback and frequently asked questions, please see the WallGo homepage.

License

Copyright (c) 2024 Andreas Ekstedt, Oliver Gould, Joonas Hirvonen, Benoit Laurent, Lauri Niemi, Philipp Schicho, and Jorinde van de Vis.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wallgo-0.1.4.tar.gz (5.5 MB view details)

Uploaded Source

Built Distribution

WallGo-0.1.4-py3-none-any.whl (405.4 kB view details)

Uploaded Python 3

File details

Details for the file wallgo-0.1.4.tar.gz.

File metadata

  • Download URL: wallgo-0.1.4.tar.gz
  • Upload date:
  • Size: 5.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for wallgo-0.1.4.tar.gz
Algorithm Hash digest
SHA256 3acf95fea23736da35f778144f50e260bd428cf22aaaadd623231db60018944e
MD5 06edf1f92656e720211185888842a654
BLAKE2b-256 54868d5e3fbf0858d46a4ed82fda2349ab49c06947c6614ba658ee418757aa5e

See more details on using hashes here.

File details

Details for the file WallGo-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: WallGo-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 405.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for WallGo-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b53cafa680d321faa11c8da4f89d9c04198784a5dd23f0381009f54398b9aecd
MD5 14fed9be76f4c65bdda91e21efb3e0a1
BLAKE2b-256 5beaccec9d4a14dc781fbdd2058d387e986f99c61117fef76b99d0d40f16bf63

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page