gwModels
gwModels is a Python package hosting data-driven and phenomenological models for the gravitational radiation (waveforms) emitted from binary black hole mergers, along with remnant property models for final mass, spin, and kick velocity.
For questions, suggestions, or collaborations, please email tousifislam24@gmail.com.
Available Models
Waveform Frameworks
Model |
Description |
Reference |
Tutorial |
|---|---|---|---|
gwNRHME |
Non-spinning quasi-circular HM waveform → eccentric |
||
gwNRXHME |
Non-precessing quasi-circular HM waveform → eccentric |
Eccentric Higher-Mode Waveforms
Model |
Components |
Reference |
Tutorial |
|---|---|---|---|
NRHybSur3dq8-gwNRHME |
NRHybSur3dq8 + SEOBNRv5EHM |
||
BHPTNRSur1dq1e4-gwNRHME |
BHPTNRSur1dq1e4 + SEOBNRv5EHM |
Eccentricity Estimation
Model |
Description |
Reference |
Tutorial |
|---|---|---|---|
eccentricity_estimation |
Computes \(e_{\xi}\), \(e_{\omega}\), \(e_{\rm gw}\) |
Dynamics: Eccentricity Evolution
Model |
Type |
Parameter Range |
Reference |
Tutorial |
|---|---|---|---|---|
gwEccEvNS |
NR-based approximate |
Non-spinning |
||
gwEccEvNSv2 |
Analytical |
Non-spinning |
||
gwEccEvolve_NoSpinq4 |
SVD surrogate + GPR |
\(1 \leq q \leq 4\), \(0.003 \leq e_0 \leq 0.443\) |
Remnant: Kick Velocity
Model |
Type |
Valid Range |
Extra Deps |
Reference |
Tutorial |
|---|---|---|---|---|---|
gwModel_kick_q200 |
Analytical (aligned) |
\(1 \leq q \leq 1000\) |
— |
||
gwModel_kick_q200_GPR |
GPR (aligned) |
\(1 \leq q \leq 1000\) |
scikit-learn |
||
gwModel_kick_prec_flow |
Normalizing flow (prec.) |
\(q \leq 100\) |
torch, nflows |
||
HLZ_2014_aligned_spin |
Analytical (aligned) |
— |
— |
||
bbh_final_kick_precessing_CLZM2007 |
Analytical (prec.) |
— |
— |
Gonzalez+ 2007 |
Remnant: Final Mass and Spin
Model |
Quantity |
Spin Type |
Reference |
Tutorial |
|---|---|---|---|---|
bbh_final_mass_precessing_BMR2012 |
Final mass |
Precessing |
Barausse, Morozova & Rezzolla (2012) |
|
bbh_final_spin_precessing_HBR2016 |
Final spin |
Precessing |
Hofmann, Barausse & Rezzolla (2016) |
|
bbh_final_mass_non_precessing_UIB2016 |
Final mass |
Aligned |
||
bbh_final_spin_non_precessing_UIB2016 |
Final spin |
Aligned |
Contents
- Installation
- Quick Start
- API Reference
- Notebook Tutorials
- Example notebook to use gwNRHME framework
- Example notebook to use NRHybSur3dq8-gwNRHME model
- Example notebook to use BHPTNRSur1dq1e4-gwNRHME model
- Example notebook to compute eccentricity \(e_{\xi}(t)\) from waveforms
- 1. Load waveforms
- 2. Compute eccentricity \(e_{\xi}\)
- 3. Compare with gw-eccentricity package
- 4. Diagnostic plots of all modulation parameters, fits and gwModels eccentricity
- 5. Calculate smooth \(e_{\rm gw}\) and \(e_{\omega}\) directly from gwModels using \(e_{\xi}\) envelops
- gwEccEvNS : a simple model for eccentricity evolution in time domain for non-spinning binaries
- gwEccEvNSv2 : analytical model for eccentricity evolution in time domain for non-spinning binaries
- gwEccEvolve_NoSpinq4 : SVD surrogate model for eccentricity evolution in non-spinning binaries
- gwModels kick velocity models
- Remnant models: final mass, spin, and kick
- Citation
- Contributing