Skip to main content

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

Project description

cw_constrain

PyPI version 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


PBH constraints: how to use your own mass functions or PBH formation model

Please follow the tutorial in tutorials/O4a_pbh_all_sky_tutorial.ipynb


Installation

You can install the package directly from PyPI (WILL BE PUT HERE AFTER O4a DATA RELEASE):

pip install cw-constrain

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.0.2.tar.gz (2.1 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.0.2-py3-none-any.whl (1.7 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cw_constrain-0.0.2.tar.gz
  • Upload date:
  • Size: 2.1 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.0.2.tar.gz
Algorithm Hash digest
SHA256 5759a263d2fff70c045cb71b2de3a356b83a5496252df39a249feabe4a767eb8
MD5 4444a76aaf3251b16882991b5398dacb
BLAKE2b-256 6ef8771409974a176da7fd05d11a3f776d22f515621bf32319b38ba50320f4a3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cw_constrain-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 1.7 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.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 483fdbfb2dcd66757cbccb6e598cacdd6f6ebd7f0875046a11398ccd4e86a97f
MD5 d614772a6dedde3a1923716aa21d481c
BLAKE2b-256 c470920dfad41a80742e3d5f2d8d8be9c113fbba445149a7aca65cc1f04cec71

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