Python implementation of phenomd amplitude calculation for fast SNR determination
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.
These instructions will get you a copy of the project up and running on your local machine for usage and testing purposes.
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.
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
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Current version is 1.0.1.
We use SemVer for versioning.
- Michael Katz - mikekatz04
Please email the author with any bugs or requests.
This project is licensed under the GNU License - see the LICENSE.md file for details.
- Thanks to Michael Puerrer, Sebastian Khan, Frank Ohme, Ofek Birnholtz, Lionel London for authorship of the original c code for PhenomD within LALsuite.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size pyphenomd-1.0.2-cp35-cp35m-macosx_10_6_x86_64.whl (7.4 MB)||File type Wheel||Python version cp35||Upload date||Hashes View|
|Filename, size pyphenomd-1.0.2.tar.gz (7.2 MB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for pyphenomd-1.0.2-cp35-cp35m-macosx_10_6_x86_64.whl