Skip to main content

github Documentation Status

gwaxion

This is a package to facilitate computations related to gravitational waves from ultralight-boson condensates around black holes. The code was primarilty developed in writing arXiv:1810.03812, but it is of broad applicability.

The primary objects in this package are:

  • BlackHoleBoson
  • BosonCloud

Their use, as well as other features, is demonstrated in a set of Jupyter notebooks in the examples/ directory.

Computations of boson cloud evolution and gravitational-wave emission rely on results from arXiv:1411.0686 and arXiv:1706.06311.

Installation

pip install gwaxion

Usage

Here is a barebones example to get some properties of a given black-hole--boson system, for a BH with mass M = 50 Msun and dimensionless spin chi = 0.9, and a boson with mass such that alpha = 0.2.

import gwaxion

# create a black-hole--boson object (scalar boson by default)
bhb = gwaxion.BlackHoleBoson.from_parameters(m_bh=50, chi_bh=0.9, alpha=0.2)

# get the fastest-growing boson level
# (l, m, nr, growth rate in Hz)
bhb.max_growth_rate()
# > (1, 1, 0, 4.175501554995195e-06)

# get the mass of the corresponding cloud after superradiant growth
# as a fraction of the original BH mass
cloud = bhb.best_cloud()
cloud.mass / cloud.bhb_initial.bh.mass
# > 0.066

For more examples see the examples/ directory.

Credit

This code was developed by Maximiliano Isi with important contributions by Richard Brito.

If you make use of this code for your own publications, please cite:

@article{Isi:2018pzk,
    author = "Isi, Maximiliano and Sun, Ling and Brito, Richard and Melatos, Andrew",
    title = "{Directed searches for gravitational waves from ultralight bosons}",
    eprint = "1810.03812",
    archivePrefix = "arXiv",
    primaryClass = "gr-qc",
    reportNumber = "LIGO-P1800270",
    doi = "10.1103/PhysRevD.99.084042",
    journal = "Phys. Rev. D",
    volume = "99",
    number = "8",
    pages = "084042",
    year = "2019",
    note = "[Erratum: Phys.Rev.D 102, 049901 (2020)]"
}

(This might be replaced by a dedicated publication at a later date.)

Metadata

Release files for gwaxion 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gwaxion 0.0.1
File Size Uploaded Provenance Actions
gwaxion-0.0.1.tar.gz 23.0 kB Without provenance Details for gwaxion-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gwaxion 0.0.1
File Interpreter ABI Platform Actions
gwaxion-0.0.1-py3-none-any.whl Python 3 none any Details for gwaxion-0.0.1-py3-none-any.whl

Total release size: 48.6 kB

Release files / gwaxion-0.0.1.tar.gz

Download URL gwaxion-0.0.1.tar.gz
Size 23.0 kB
Tags Source
SHA-256 checksum
How to use checksums
38049b7adf3f76734f06e37b3d6b7806ada7e6f8ff2d3363d95c41ea4c8caecd
BLAKE2b-256 checksum
How to use checksums
f2261e73d3fb387234d0b632a58eaf64374113c5f14a2f5ccdd350d781bf5d8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9

Release files / gwaxion-0.0.1-py3-none-any.whl

Download URL gwaxion-0.0.1-py3-none-any.whl
Size 25.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8cac0bfdd2db2d886149c58ec8b5877e2d1d4217fdeb15c745bd91d1432579ab
BLAKE2b-256 checksum
How to use checksums
7ed1e666764874a42c191d7f8e0f003a1fb6782abe97ac176b600e1e4b874ae7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9

Security for gwaxion 0.0.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

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