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

Uploaded Python 3

File details

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

File metadata

  • Download URL: cw_constrain-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 1dbc47c5f232a34f6067a42aae01255852a10198ce8d168aa781a3572789bbd7
MD5 9e62a9fc717c7c35944c3a4a9fe1fddb
BLAKE2b-256 911d9a867a83bf428c37bb455e1f02206a029e8d703a3345d1bfcc2320c0058a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cw_constrain-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 92d0bcda3b8002cfafbb242ba6540f62e1702ccb38ad5ea0e0bd6b67f874e0b2
MD5 6eb09665e8033b2cb736dd270ac6f51d
BLAKE2b-256 c1b42bc4a29458394c29a4ce0c8cbbf180eddc43c8fdb3eee3d13f71afbf62e9

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