Skip to main content

Defining eccentricity for gravitational wave astronomy.

Project description

Defining eccentricity for gravitational wave astronomy

github PyPI version Conda (channel only) license Build Status Documentation Status

About

gw_eccentricity provides methods to measure eccentricity and mean anomaly from gravitational waveforms.

These methods are described in the following paper:

Please see Credits below for citing this work. This package lives on GitHub, is compatible with python3, and is tested every week. You can see the current build status of the main branch at the top of this page.

Installation

PyPI

gw_eccentricity is available through PyPI:

pip install gw_eccentricity

Conda

gw_eccentricity can be installed using conda also:

conda install -c conda-forge gw_eccentricity

From source

git clone git@github.com:vijayvarma392/gw_eccentricity.git
cd gw_eccentricity
pip install .

If you do not have root permissions, replace the last step with pip install --user .

Dependencies

All of these can be installed through pip or conda.

Usage

See example notebooks:

Making contributions

See this README for instructions on how to make contributions to this package.

Please report bugs by raising an issue on our GitHub repository.

Credits

The main contributors to this code are Md Arif Shaikh, Vijay Varma, and Harald Pfeiffer. You can find the full list of contributors here.

If you find this package useful in your work, please cite reference [1], [2] and this package. You can use the following bibtex keys:

@article{Shaikh:2023ypz,
    author = "Shaikh, Md Arif and Varma, Vijay and Pfeiffer, Harald P. and Ramos-Buades, Antoni and van de Meent, Maarten",
    title = "{Defining eccentricity for gravitational wave astronomy}",
    eprint = "2302.11257",
    archivePrefix = "arXiv",
    primaryClass = "gr-qc",
    doi = "10.1103/PhysRevD.108.104007",
    journal = "Phys. Rev. D",
    volume = "108",
    number = "10",
    pages = "104007",
    year = "2023",
    Note = "{\href{https://pypi.org/project/gw_eccentricity}{pypi.org/project/gw\_eccentricity}}",
}

@article{Shaikh:2025tae,
    author = "Shaikh, Md Arif and Varma, Vijay and Ramos-Buades, Antoni and Pfeiffer, Harald P. and Boyle, Michael and Kidder, Lawrence E. and Scheel, Mark A.",
    title = "{Defining eccentricity for spin-precessing binaries}",
    eprint = "2507.08345",
    archivePrefix = "arXiv",
    primaryClass = "gr-qc",
    doi = "10.1088/1361-6382/ae085d",
    journal = "Class. Quant. Grav.",
    volume = "42",
    number = "19",
    pages = "195012",
    year = "2025",
	Note = "{\href{https://pypi.org/project/gw_eccentricity}{pypi.org/project/gw\_eccentricity}}",
}

Image at the top shows an eccentric gravitational wave signal (SXS:BBH:2558) from arXiv:2209.03390.

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

gw_eccentricity-2.0.1.tar.gz (116.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gw_eccentricity-2.0.1-py3-none-any.whl (129.7 kB view details)

Uploaded Python 3

File details

Details for the file gw_eccentricity-2.0.1.tar.gz.

File metadata

  • Download URL: gw_eccentricity-2.0.1.tar.gz
  • Upload date:
  • Size: 116.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for gw_eccentricity-2.0.1.tar.gz
Algorithm Hash digest
SHA256 070b736b314bb05b0cf1aae5dc4650c198c9bee81a13521d8aef3058e540a364
MD5 6c42e09e8809d5f8a3da9378a7c565ee
BLAKE2b-256 89543722ce085d468d9369d32536ede8747fd49a3fd98f571d0213a931fec564

See more details on using hashes here.

File details

Details for the file gw_eccentricity-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: gw_eccentricity-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 129.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for gw_eccentricity-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 59c98c06682dbc203e41cb3131835fea30cae366a5e8325e843b80b12ec2bc21
MD5 3f85aae1ff034cf22359e39277c2d25b
BLAKE2b-256 655c776a3561d960b35bee29d2fec4b2c3d8ab0733f07045103868e30f4865a9

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