Waveform Analysis Tool in Python
Project description
Python Waveform Analysis Tools
The CoRe python package for the analysis of gravitational waves. It incorporates various functions based on previous codes
scidata,
WAT and
pyGWAnalysis, and includes classes to work with the CoRe waveform database.
Installation
PyPi
Run the command pip install core-watpy. Note that to use this package one needs to type watpy only, e.g. import watpy.
From source
The installation relies on standard Python library setuptools.
Once the repository is cloned, the installation can be performed in two ways,
depending on the choice of the user:
- Run the command
python setup.py installorpython setup.py install --userinside the project directory. - Install the module via
piprunning the commandpython -m pip installinside the project directory. It is possible to include the--useroption and the-eoption for editing.
Requirements
watpy works with Python3.
The following Python packages are required for installation:
- Numpy (Python array-handler)
- Scipy (Python scientific library)
- Matplotlib (Nice visualization package)
- H5py (Pythonic interface to HDF5)
For users interested in interactive usage of this package we suggest ipython notebooks. These can be installed with the following packages:
- iPython (Strictly better version of the basic python shell)
- Jupyter (Notebooks, slides, HTML conversion of notebooks and more)
To sync and clone the CoRe DB watpy requires a git installation:
Content
watpy implements few classes to clone and work with CoRe waveforms.
wave()andmwaves()for multipolar waveforms data, see wave.pyCoRe_db()to clone the CoRe DB, add data etc, see coredb.pyCoRe_idx()to work with the CoRe DB index, see coredb.pyCoRe_sim()to work with simulation data in a CoRe repository, see coredb.pyCoRe_run()to work with one simulation run data in a CoRe repository, see coredb.pyCoRe_h5()to work with HDF5 data, see coredb.pyCoRe_md()to manage the metadata, see metadata.py
Please note that in order to use this package one needs to type watpy only, e.g. import watpy.
See watpy_CoReDB.ipynb and watpy_wave.ipynb for our tutorials on the CoRe DB and waveforms.
Features
- Classes for multipolar waveform data
- Classes to clone the CoRe database
- Gravitational-wave energy and angular momentum calculation routines
- Psi4-to-h via FFI or time integral routines
- Waveform alignment and phasing routines
- Waveform interpolation routines
- Waveform's spectra calculation
- Richardson extrapolation
- Wave objects contain already information on merger quantities (time, frequency)
- Unit conversion package
- Compatible numerical-relativity file formats: BAM, Cactus (WhiskyTHC / FreeTHC), CoRe database
Versions
Code versions are tagged as MAJOR.MINOR.PATCH following semantic versioning
Latest version
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file core-watpy-0.1.1.tar.gz.
File metadata
- Download URL: core-watpy-0.1.1.tar.gz
- Upload date:
- Size: 45.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f3bb7e770c255d1a2f144c4f51d28273374e92502146d0e9150fb9da15b33dd
|
|
| MD5 |
6d6166db10dc6f853cba2f0e6e0b3f83
|
|
| BLAKE2b-256 |
228626d544e001f1e5f18e6902b66a8c6aa7dc5d36cad23571d868f1d223317b
|
File details
Details for the file core_watpy-0.1.1-py3-none-any.whl.
File metadata
- Download URL: core_watpy-0.1.1-py3-none-any.whl
- Upload date:
- Size: 48.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1d97190517820d7752b2cceec5adc280cacf7451516e0a9dbc805a4f4ffc086
|
|
| MD5 |
f4e5d2a85be39ab11d6e315db6d52aca
|
|
| BLAKE2b-256 |
7332f9d6aa5cccba85e8ff9c732d34139da63ff47751feca224f4bd7fd607418
|