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.2.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.2-py3-none-any.whl (1.6 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cw_constrain-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 d933a62b411a6078f470205d18bca440d1b328a34ed9f6301a1071d197d87f46
MD5 7a62f7f245b0178f61d7daad1d4d9245
BLAKE2b-256 09e6564ecd4db811468b5c3cf3d811a74ae1f934b7811a8c1369998216612e93

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cw_constrain-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4564c12f57e7f0851b9cd38f6e4f19a3f8c868c1408632ad41ec27fc28dce4aa
MD5 a95637008094027966f0f6e42578285d
BLAKE2b-256 62317590e01f1a42a23c84080b5d4f86fe0f393d6f74250364a42524316a310c

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