Skip to main content

GWFIT

Gravitational Waveform Integration Tools

GWFIT is a Python package for gravitational-wave modelling and analysis, with utilities for waveform generation, inspiral modelling, numerical-relativity data analysis, horizon fluxes, and neutron-star calculations.

Features

  • Gravitational-waveform and inspiral modelling
  • Numerical-relativity data handling
  • Horizon flux and tidal-heating calculations
  • Neutron-star utilities
  • Physical constants and useful relations

Installation

There are several ways to install GWFIT depending on whether you want the latest stable release or the development version.

1. Install the latest stable release from PyPI

For most users, the recommended method is to install GWFIT directly from PyPI:

python -m pip install gwfit

2. Install the latest stable release from git repository

python -m pip install git+https://gitlab.com/samanwaya-mukherjee/gwfit.git

2. Install by cloning the source

Clone the repository:

git clone https://gitlab.com/samanwaya-mukherjee/gwfit.git
cd gwfit
python -m pip install .

[ For development, the editable installation is recommended so that changes to the source code are immediately available.

Install GWFIT in editable mode:

python -m pip install -e .

]

Legacy functionality

Some older implementations are included under gwfit.legacy. Their additional dependencies can be installed with:

python -m pip install -e ".[legacy]"

Basic usage

After installation, GWFIT can be imported as:

import gwfit

The main components are organized into subpackages:

from gwfit import physics
from gwfit import waveforms
from gwfit import nr
from gwfit import neutron_star

For example, specific modules can be imported with:

from gwfit.waveforms import inspiral_model
from gwfit.nr import nr_data_utils
from gwfit.physics import constants

Project structure

gwfit/
├── LICENSE
├── pyproject.toml
├── README.md
└── src/
    └── gwfit/
        ├── __init__.py
        ├── legacy/
        │   ├── nr_data_utils_legacy.py
        │   ├── nr_heat_legacy.py
        │   └── inspiral_th_model_legacy.py
        ├── neutron_star/
        │   ├── __init__.py
        │   └── neutron_star_functions.py
        ├── nr/
        │   ├── __init__.py
        │   ├── nr_data_utils.py
        │   └── nr_heat.py
        ├── physics/
        │   ├── __init__.py
        │   ├── constants.py
        │   └── useful_relations.py
        └── waveforms/
            ├── __init__.py
            ├── inspiral_model.py
            └── waveform_functions.py

Dependencies

The core package currently depends on:

  • NumPy
  • SciPy
  • SXS

Additional dependencies for legacy functionality are:

  • h5py
  • PyCBC

Development

GWFIT is under active development. Contributions, suggestions, and bug reports are welcome.

License

GWFIT is distributed under the MIT License.

Author

Samanwaya Mukherjee

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gwfit-0.1.1.tar.gz (27.7 kB view details)

Uploaded Source

Built Distribution

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

gwfit-0.1.1-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

Details for the file gwfit-0.1.1.tar.gz.

File metadata

  • Download URL: gwfit-0.1.1.tar.gz
  • Upload date:
  • Size: 27.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.15

File hashes

Hashes for gwfit-0.1.1.tar.gz
Algorithm Hash digest
SHA256 191e863143eac6e43ccb9dd03be7b0f81481167a310fdad238fe7ce678e4767c
MD5 100e555ee4ed2c5e95c68c085b8f7f7b
BLAKE2b-256 3b69f314ab0cb346ea71724e20fb66ba590481868ff769d1acad707e88f3882b

See more details on using hashes here.

File details

Details for the file gwfit-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: gwfit-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 31.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.15

File hashes

Hashes for gwfit-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 931d7d074879784c8468c3d8eae2f2a78a905cda5ada9927fe6d9fdca7178fa2
MD5 63f41c5d0f33778bb5b2b3b3adc55537
BLAKE2b-256 4ee7258b990e5de1caeb663c395a7bddb735fab9197c906eb3f2f1493c5d0038

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.0

2 files

This release

0.1.1 This release

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page