Skip to main content

gwfolding

gwfolding logo

PyPI version Python versions Documentation status License: MIT

Folding of Stochastic Intermediate Data (SID) frames to one sidereal day for stochastic gravitational-wave searches. The output can be written as folded SID (.gwf) frames.

Mathematical details are described in the LIGO technical document T0900093.

Prerequisite: the Fr frame library (not on PyPI)

This package reads and writes gravitational-wave frame files via the Fr module (frgetvect / frputvect). Fr is not distributed on PyPI and is not installed by pip. It must already be available in your Python environment, typically from the conda / IGWN software stack used for LIGO/Virgo analysis.

Install or activate your IGWN/conda environment so that the following works before using this package:

from Fr import frgetvect, frputvect

If that import fails, install the frame library from your conda/IGWN channel first.

Installation

pip install gwfolding

This installs the pure-Python package and its PyPI dependencies (numpy, scipy). The Fr frame library must be provided separately (see above).

Usage

from gwfolding import foldSID

foldedInvCov, foldedStatistic, params, foldParams = foldSID(
    "foldSID.par",   # path to the parameter file
    writeFrames=1,   # write folded SID frames
)

A worked example runner is provided in run_foldSID.py, and an example parameter file in foldSID.par.txt.

Authors

  • Authors: Anirban Ain, Prathamesh Dalvi, Sanjit Mitra
  • Python translation: Erik Floden
  • Data production and code maintenance: Jishnu Suresh (jishnu.suresh@ligo.org)

Citation

If you use this pipeline, please cite:

A. Ain, P. Dalvi, and S. Mitra, "Fast gravitational wave radiometry using data folding," Phys. Rev. D 92 (July, 2015) 022003, arXiv:1504.01714 [gr-qc].

BibTeX:

@article{Ain:2015lea,
    author        = "Ain, Anirban and Dalvi, Prathamesh and Mitra, Sanjit",
    title         = "{Fast gravitational wave radiometry using data folding}",
    journal       = "Phys. Rev. D",
    volume        = "92",
    number        = "2",
    pages         = "022003",
    year          = "2015",
    doi           = "10.1103/PhysRevD.92.022003",
    eprint        = "1504.01714",
    archivePrefix = "arXiv",
    primaryClass  = "gr-qc"
}

License

MIT. See LICENSE.

Metadata

Release files for gwfolding 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gwfolding 0.1.2
File Size Uploaded
gwfolding-0.1.2.tar.gz 19.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gwfolding 0.1.2
File Interpreter ABI Platform
gwfolding-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 37.8 kB

Release files / gwfolding-0.1.2.tar.gz

Download URL gwfolding-0.1.2.tar.gz
Size 19.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1140a850601e3b3a9f9d117585a6a6084e1073ef9ed505b62868d94333fa4f6b
BLAKE2b-256 checksum
How to use checksums
ba86615dcd62fbc9e3a410dab7b8d4466ea73ab06493e89baf3bd63535e53158
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 3, 2026.

Transparency log

Release files / gwfolding-0.1.2-py3-none-any.whl

Download URL gwfolding-0.1.2-py3-none-any.whl
Size 18.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d3356168a0a6fa24a5fa6efda7594dad3c388d630fdd3dd0b7a5b0e24f03f4a
BLAKE2b-256 checksum
How to use checksums
95795971813c570c1a82b8abed45954771ddb53f8bc741b914376aab3708f5e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 3, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release 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