Skip to main content

A comprehensive Python package for Gravitational Wave experimental data analysis, extending GWpy with strict unit handling and advanced spectral methods.

Project description

gwexpy logo

gwexpy: GWpy Expansions for Experiments

CI Status codecov Documentation License: MIT Python 3.11+

gwexpy is an extension library for GWpy for experimental physics and gravitational-wave data analysis. It adds matrix-aware containers, field operations, fitting workflows, expanded I/O, and interoperability layers while staying close to GWpy-style analysis.

GWexpy is an independent package built on top of GWpy. It is not an official component of the GWpy project.

Install

python -m pip install gwexpy

GWexpy is published on PyPI. A conda-forge feedstock is also available, though the conda-forge package may lag the latest PyPI release.

python -m pip install gwexpy
# or, once the desired version is available on conda-forge:
conda install -c conda-forge gwexpy

The experimental GUI app is not part of the supported package surface.

For optional extras, external dependencies, and environment-specific setup, use the official installation guides:

Documentation

The full documentation is maintained in the docs site and is the source of truth for usage details.

Why gwexpy?

  • Matrix-native analysis: TimeSeriesMatrix, FrequencySeriesMatrix, and SpectrogramMatrix support batch processing, transfer functions, and multichannel workflows.
  • Physics-oriented containers: ScalarField, VectorField, and TensorField extend analysis beyond simple series into structured field data.
  • Practical workflows: fitting, noise hunting, time-frequency analysis, and interoperability are exposed as user-facing workflows rather than isolated utilities.
  • Broad interoperability and I/O: gwexpy bridges scientific Python tools and extends format coverage beyond core GWpy workflows.

Quick Start

import numpy as np
import gwexpy
from gwexpy.timeseries import TimeSeries, TimeSeriesList

gwexpy.register_all()

ts1 = TimeSeries(np.arange(8.0), dt=1.0, name="A")
ts2 = TimeSeries(np.arange(8.0) * 2.0, dt=1.0, name="B")
matrix = TimeSeriesList([ts1, ts2]).to_matrix()
asd = matrix.asd(fftlength=2.0)
print(matrix.shape)

For fitting, I/O, interoperability, and notebook-based workflows, start from the docs hub or the tutorial index above.

More Resources

Support

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

gwexpy-0.1.7.tar.gz (629.9 kB view details)

Uploaded Source

Built Distribution

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

gwexpy-0.1.7-py3-none-any.whl (755.1 kB view details)

Uploaded Python 3

File details

Details for the file gwexpy-0.1.7.tar.gz.

File metadata

  • Download URL: gwexpy-0.1.7.tar.gz
  • Upload date:
  • Size: 629.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gwexpy-0.1.7.tar.gz
Algorithm Hash digest
SHA256 253be9a40792cd5ffc0bce5f16a60adb8236b5c9c23ea694341e969054d9e2a9
MD5 79ed11017d724f39e93bf904634ed3e3
BLAKE2b-256 0d823bb1c8a7629380ea1fedfb28ef96bd98605470d98f1a5948f978bf1f1d81

See more details on using hashes here.

Provenance

The following attestation bundles were made for gwexpy-0.1.7.tar.gz:

Publisher: release.yml on tatsuki-washimi/gwexpy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gwexpy-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: gwexpy-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 755.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gwexpy-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d6b16250d70a45878d430e54de1db28c9e757b0154791180d2f207b23511ae2e
MD5 565fe8ba8d57f1b1eb78c937f682f925
BLAKE2b-256 eb7650bafe0c922df5169cac912cdfa9c92cc0ed2ffe02a375ea8d0dc193ac44

See more details on using hashes here.

Provenance

The following attestation bundles were made for gwexpy-0.1.7-py3-none-any.whl:

Publisher: release.yml on tatsuki-washimi/gwexpy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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