Skip to main content

Tools to constrain PBHs and the GeV excess using continuous gravitational waves

Project description

cw_constrain

PyPI version DOI License: MIT


Overview

cw_constrain is a Python package designed to provide tools and methods for constraining PBH abundance and the MSP hypothesis for the GeV excess using upper limits derived from continuous gravitational wave searches on real LIGO-Virgo-KAGRA data. It includes modules for analyzing GeV excess constraints, primordial black hole constraints, and shared utilities.


Features

  • Calculate constraints on MSP luminosity functions that explain the GeV excess using your own luminosity function, your own rotational frequency distribution and/or your own ellipticity distribution.
  • Compute constraints on the fraction of dark matter that primordial black hole (PBHs) could compose using your own mass function or PBH formation model.
  • Utility functions shared across modules for data processing
  • Well-structured package suitable for scientific research and data analysis

GeV excess constraints: how to use your own luminosity function

Please follow the tutorial in tutorials/O4a_GeV_excess_tutorial.ipynb


Constraining PBH abundance with your own mass functions or formation models

PBH asteroid-mass constraints:

Please follow the tutorial in tutorials/O4a_pbh_all_sky_tutorial.ipynb


PBH planetary-mass constraints:

Please follow the tutorial in tutorials/O4a_light_pbh_tutorial.ipynb


Ultralight dark-matter constraints

Please follow the tutorial in tutorials/O4a_DM_interaction_tutorial.ipynb

Installation

You can install the package directly from PyPI:

pip install cw-constrain

And then in Python:

import cw_constrain

If you use these codes, please cite the following Zenodo release:

DOI

as well as the original papers:

Constraining the millisecond pulsar hypothesis for the GeV excess

@article{Miller:2023qph,
    author = "Miller, Andrew L. and Zhao, Yue",
    title = "{Probing the Pulsar Explanation of the Galactic-Center GeV Excess Using Continuous Gravitational-Wave Searches}",
    eprint = "2301.10239",
    archivePrefix = "arXiv",
    primaryClass = "astro-ph.HE",
    doi = "10.1103/PhysRevLett.131.081401",
    journal = "Phys. Rev. Lett.",
    volume = "131",
    number = "8",
    pages = "081401",
    year = "2023"
}

Constraing asteroid-mass PBH abundance

@article{Miller:2021knj,
    author = "Miller, Andrew L. and Aggarwal, Nancy and Clesse, S\'ebastien and De Lillo, Federico",
    title = "{Constraints on planetary and asteroid-mass primordial black holes from continuous gravitational-wave searches}",
    eprint = "2110.06188",
    archivePrefix = "arXiv",
    primaryClass = "gr-qc",
    doi = "10.1103/PhysRevD.105.062008",
    journal = "Phys. Rev. D",
    volume = "105",
    number = "6",
    pages = "062008",
    year = "2022"
}

Constraining planetary-mass PBH abundance:

@article{Miller:2024fpo,
    author = "Miller, Andrew L. and Aggarwal, Nancy and Clesse, S\'ebastien and De Lillo, Federico and Sachdev, Surabhi and Astone, Pia and Palomba, Cristiano and Piccinni, Ornella J. and Pierini, Lorenzo",
    title = "{Gravitational Wave Constraints on Planetary-Mass Primordial Black Holes Using LIGO O3a Data}",
    eprint = "2402.19468",
    archivePrefix = "arXiv",
    primaryClass = "gr-qc",
    doi = "10.1103/PhysRevLett.133.111401",
    journal = "Phys. Rev. Lett.",
    volume = "133",
    number = "11",
    pages = "111401",
    year = "2024"
}

@article{Miller:2024jpo,
    author = "Miller, Andrew L. and Aggarwal, Nancy and Clesse, Sebastien and De Lillo, Federico and Sachdev, Surabhi and Astone, Pia and Palomba, Cristiano and Piccinni, Ornella J. and Pierini, Lorenzo",
    title = "{Method to search for inspiraling planetary-mass ultracompact binaries using the generalized frequency-Hough transform in LIGO O3a data}",
    eprint = "2407.17052",
    archivePrefix = "arXiv",
    primaryClass = "astro-ph.IM",
    doi = "10.1103/PhysRevD.110.082004",
    journal = "Phys. Rev. D",
    volume = "110",
    number = "8",
    pages = "082004",
    year = "2024"
}

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

cw_constrain-0.1.1.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cw_constrain-0.1.1-py3-none-any.whl (1.6 MB view details)

Uploaded Python 3

File details

Details for the file cw_constrain-0.1.1.tar.gz.

File metadata

  • Download URL: cw_constrain-0.1.1.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.13

File hashes

Hashes for cw_constrain-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cc50a0779b6e63d58ecc6dcbf93948f2a58d03d07ad0af472b03ffebb368becf
MD5 9aff395bf89fe8e05e98cc0f9a691fd2
BLAKE2b-256 0ca979ee651c7418d39adb5c6111eb72fe7b2eba340c08afe8e927aec4187e4c

See more details on using hashes here.

File details

Details for the file cw_constrain-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: cw_constrain-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.13

File hashes

Hashes for cw_constrain-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0554f5b87cc17987413ff4ecc60834e980708e32a26a3af96eb0804b92c24892
MD5 60a6d6b990f0db60ad57e3b51e305f69
BLAKE2b-256 df202b850a2380db1c2bb52547212ede2e5d80a2a0429b2ab2e712558d479631

See more details on using hashes here.

Supported by

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