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-maxisi 0.0.2

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-maxisi 0.0.2
File Size Uploaded Provenance Actions
gwaxion-maxisi-0.0.2.tar.gz 23.1 kB Without provenance Details for gwaxion-maxisi-0.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 48.7 kB

Release files / gwaxion-maxisi-0.0.2.tar.gz

Download URL gwaxion-maxisi-0.0.2.tar.gz
Size 23.1 kB
Tags Source
SHA-256 checksum
How to use checksums
87d15a0c240344b4a5f858d854ae8a46e78787374b9f97965e371c5b39cb152c
BLAKE2b-256 checksum
How to use checksums
968c558dd28a5304c48a01b84183314723d83568df6de275f6de9fb096e86f04
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_maxisi-0.0.2-py3-none-any.whl

Download URL gwaxion_maxisi-0.0.2-py3-none-any.whl
Size 25.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b503609a7faba9d8853db59465fdfc0f5d97fcc6aab65cca8d1b11f8ef2e321d
BLAKE2b-256 checksum
How to use checksums
bb8eb5dd526977f93551c378245859b2a711ff04963aece071bd1a5d6a986553
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-maxisi 0.0.2

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.

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