Skip to main content

gwexpy logo

gwexpy: GWpy Expansions for Experiments

CI Status Docs Pages 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 preserving the default finite numerical results, sample selection, and axis behavior of corresponding GWpy APIs. Intentional numerical differences require explicit user opt-in.

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

Read the project-wide GWpy behavioral compatibility policy or its Japanese translation.

Install

GWexpy v0.2.0 is available from both PyPI and conda-forge.

python -m pip install gwexpy
# or
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.

Where gwexpy Fits

gwexpy occupies the layer between GWpy and the workflow packages built on top of it. GWpy provides the standard gravitational-wave data objects; gwexpy adds matrix-aware containers, typed analysis results, broad I/O, and external-tool conversion; detector-characterization, search, and inference pipelines consume those products.

It is complementary to, not a replacement for, packages such as spicypy (signal processing and control systems) and GWDama (HDF5-first data preparation). Site-specific operational pipelines, operator-facing reports, job orchestration, and trigger generation are deliberately out of scope.

For the full comparison, the ecosystem map, and the third-party code policy, see:

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)

This example explicitly registers the full supported surface. Supported public I/O entry points can register their required handlers on demand.

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

More Resources

Support

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.2.2.tar.gz (780.8 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.2.2-py3-none-any.whl (888.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gwexpy-0.2.2.tar.gz
  • Upload date:
  • Size: 780.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for gwexpy-0.2.2.tar.gz
Algorithm Hash digest
SHA256 3448af15e417187f201f1d910e92fc11e04224607b9cb77849e6d9e172383636
MD5 64638c570a40e22ec8969470a6480483
BLAKE2b-256 978e2e65c78c941914821c702e0988078b47f36195e5c44bb0855e3d44de5976

See more details on using hashes here.

Provenance

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

Publisher: publish-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.2.2-py3-none-any.whl.

File metadata

  • Download URL: gwexpy-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 888.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for gwexpy-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 64e517b906366d30b96560e1149f39fa343b8e24be977bdb18dbc40868c38126
MD5 ec47ca6af2962b3b1ca11d84508e1c38
BLAKE2b-256 9cd40cd92000078397b70b44b67ce808bee8dbb74c2d654d001dec7a17b0cc06

See more details on using hashes here.

Provenance

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

Publisher: publish-release.yml on tatsuki-washimi/gwexpy

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

Release history Release notifications | RSS feed

0.2.3

2 files

This release

0.2.2 This release

2 files

0.2.0

2 files

0.1.14

2 files

0.1.13

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

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