Skip to main content

Gravitational Wave Detector Design Toolkit.

Project description

gwent

https://img.shields.io/pypi/v/gwent.svg https://img.shields.io/travis/ark0015/gwent.svg Documentation Status

Gravitational Wave dEtector desigN Toolkit.

Generates strain sensitivity curves and Waterfall plots for various gravitational wave detector designs.

gwent Waterfall Plots

Features

Calculates the sensitivity curves for various designs of pulsar timing arrays, space-based detectors, and ground-based detectors. This includes:

  • NANOGrav

  • SKA

  • LISA

  • aLIGO

  • Voyager

  • and more!

Calculates the strain from coalescing black hole binaries. It contains functionality for different source descriptions:

  • Slowly-evolving sources, ie. BHBs early in their inspiral where they appear to not change in frequency.

  • Rapidly-evolving sources, ie. BHBs in the final stages of coalescence.

    • Uses a fully Pythonic implementation of the phenomenological model IMRPhenomD to accurately represent the inspiral, merger, and ringdown of the BHB.

Calculates the matched-filtered signal-to-noise ratio (SNR) to help assess the detectability of any BHB source configuration by any represented gravitational wave detector.

  • Includes robust plotting methods to represent these SNRs.

Getting Started

gwent is available on the Python Package Inventory, so the preferred method to install gwent is to install it with pip, as it will always install the most recent stable release.

$ pip install gwent

README Figure and Data

If you are looking for quick data, we conveniently place the figure above in the data folder on the Github repo. There you can also find the raw data used for this figure in .npz format. To load this data, simply use np.load(filename), and the data can be accessed by the kwargs 'mass', 'redshift', and 'snr'. E.g.,

import numpy as np
import gwent
from gwent.snrplot import Plot_SNR
loaded_file = np.load(filename)
Plot_SNR('M',load_file['mass'],'z',load_file['redshift'],load_file['snr'])

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.2.1 (2020-10-5)

  • Update to ground-based SNR calculation

  • Minor changes to snrplot functionality

  • Changed fitting for WD background

  • Misc bug fixing

0.2.0 (2020-4-29)

  • Major Changes to PTA detector setup

  • Major Changes to snrplot

  • Overhaul of tutorials

  • Minor Changes to binary and snr functions

  • Other Minor Changes sprinkled throughout

0.1.16 (2020-1-19)

  • Removing install of pygwinc in setup.py

  • pygwinc must now be manually installed

0.1.15 (2020-1-18)

  • Including easy install of pygwinc

0.1.14 (2020-1-7)

  • Major addition of pygwinc

  • Minor fixes to snr sampling and plotting

0.1.13 (2019-10-28)

  • Removing SNR Files in LoadFiles

  • Fixing Error in PTA Initialization that Ignored User Input

0.1.12 (2019-10-8)

  • Adding New Files for NANOGrav

  • Updating Loading from files for Detectors

0.1.11 (2019-09-19)

  • Fixing bugs and removing empty functionality

0.1.10 (2019-09-14)

  • Removed Python 2.7 support

0.1.0 (2019-09-04)

  • First release on PyPI.

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

gwent-0.2.1.tar.gz (13.0 MB view details)

Uploaded Source

File details

Details for the file gwent-0.2.1.tar.gz.

File metadata

  • Download URL: gwent-0.2.1.tar.gz
  • Upload date:
  • Size: 13.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for gwent-0.2.1.tar.gz
Algorithm Hash digest
SHA256 7d5b035086c001b334f5c4a787a500b24b56a0880321d1123450445bbb4b897f
MD5 a513031ae0b9366677a96ef89615f6e6
BLAKE2b-256 a683281199da0ca003dc63ddebc9fa4c90530da840cb7b165be1e6697336f87e

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