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:

pip install cw-constrain

`import cw_constrain` (note the underescore versus hyphen)

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.14.tar.gz (1.8 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.14-py3-none-any.whl (1.6 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cw_constrain-0.0.14.tar.gz
  • Upload date:
  • Size: 1.8 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.14.tar.gz
Algorithm Hash digest
SHA256 8c5f26e8c558d0aa1f3af749844e73d70eb565527f1799adf64339189482a9ed
MD5 9f7b05a864245375cd73faa66266c205
BLAKE2b-256 8b1f88500d74a6be9bf5fa28895cc9c183ee609e7d777e91402907168fa83932

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cw_constrain-0.0.14-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.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 3f6f2c6b43c8786eaef2dd3bc6db005fee41005ce3b4f2089a219e8eb7aec20f
MD5 c8862db634e9f92a8fec77d7a3768cc6
BLAKE2b-256 2bebe28f76e4813e99af9e5e05ef44d82aabf754883a300b226e31e0b4757895

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