Skip to main content

Python implementation of phenomd amplitude calculation for fast SNR determination

Project description

pyphenomd - a python implementation of PhenomD waveforms

pyphenomd is a tool designed to support the BOWIE package. The paper detailing this tool and examples of its usage can be found at arXiv:1807.02511 (Evaluating Black Hole Detectability with LISA). This piece of the package is a waveform generator for general use (pyphenomd.pyphenomd). The waveform generator creates PhenomD waveforms for binary black hole inspiral, merger, and ringdown. PhenomD is from Husa et al 2016 (arXiv:1508.07250) and Khan et al 2016 (arXiv:1508.07253). Please refer to these papers for information on the waveform construction.

pyphenomd also includes a fast signal-to-noise ratio calculator for these waveforms based on stock or input sensitivity curves. The package also includes a code to read out the sensitivity curves from the text files provided.

For usage of this tool, please cite all three papers mentioned above (arXiv:1807.02511, arXiv:1508.07250, arXiv:1508.07253).

See pyphenomd_guide.ipynb for more information and examples.

See BOWIE documentation, paper, and examples for more information ways to use pyphenomd.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for usage and testing purposes.

Prerequisites

Software installation/usage only requires a few specific libraries in python. All libraries are included with Anaconda. If you do not run python in an anaconda environment, you will need the following libraries and modules to run with all capabilities: Numpy, Scipy, and astropy. All can be installed with pip. For example, within your python environment of choice:

pip install astropy

In order to properly create waveforms with ctypes, you will need complex, gsl, and math c libraries. For installing gsl, refer to https://www.gnu.org/software/gsl/ or install it through anaconda.

Installing

pip install pyphenomd

This will download the all necessary parts of the package to your current environment. It will not download the notebooks for testing and example usage.

Testing and Running an Example

To test the codes, you run the guide notebook.

jupyter notebook pyphenomd_guide.ipynb

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

Current version is 1.0.1.

We use SemVer for versioning.

Authors

Please email the author with any bugs or requests.

License

This project is licensed under the GNU License - see the LICENSE.md file for details.

Acknowledgments

  • Thanks to Michael Puerrer, Sebastian Khan, Frank Ohme, Ofek Birnholtz, Lionel London for authorship of the original c code for PhenomD within LALsuite.

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

pyphenomd-1.0.2.tar.gz (7.2 MB view details)

Uploaded Source

Built Distribution

pyphenomd-1.0.2-cp35-cp35m-macosx_10_6_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.5m macOS 10.6+ x86-64

File details

Details for the file pyphenomd-1.0.2.tar.gz.

File metadata

  • Download URL: pyphenomd-1.0.2.tar.gz
  • Upload date:
  • Size: 7.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.5.5

File hashes

Hashes for pyphenomd-1.0.2.tar.gz
Algorithm Hash digest
SHA256 e32964fe5fe0f91acfc9d47177d4fdcf870372f918596fc2df1fc6956a3ace2e
MD5 28e005617dc25ddd9e1661ce98223e11
BLAKE2b-256 ae04af5efd2696dd805a406f389cdbfb28054e0265b5c37727712cad613bf422

See more details on using hashes here.

File details

Details for the file pyphenomd-1.0.2-cp35-cp35m-macosx_10_6_x86_64.whl.

File metadata

  • Download URL: pyphenomd-1.0.2-cp35-cp35m-macosx_10_6_x86_64.whl
  • Upload date:
  • Size: 7.4 MB
  • Tags: CPython 3.5m, macOS 10.6+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.5.5

File hashes

Hashes for pyphenomd-1.0.2-cp35-cp35m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 dc2ea1c8a0d4c007a7f274d463a353979a7dd93291a639f55d5549a535068fb8
MD5 51bd1f7272baedbb577bd0d1ea172d8b
BLAKE2b-256 958997f511384fe562e0eb718715d0adeb8042d146a369904da366df524852b9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page