Skip to main content

Folding of Stochastic Intermediate Data (SID) to one sidereal day for stochastic gravitational-wave searches.

Project description

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 & maintainer: Jishnu Suresh (jishnu.suresh@ligo.org)

License

MIT. See LICENSE.

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

gwfolding-0.1.1.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

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

gwfolding-0.1.1-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gwfolding-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f42db98a08df2bf75e7bc6b704217f0f42b4829629cc9a2dc0344fcc140aa994
MD5 62bb4214d0513541103677b3cda4f7d6
BLAKE2b-256 d8945a0cfdb5461fbe0c9e353f9576a4f2b0c1da326291f3b1560f5659e0b1df

See more details on using hashes here.

Provenance

The following attestation bundles were made for gwfolding-0.1.1.tar.gz:

Publisher: publish.yml on jishnu-suresh/gwfolding

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

File details

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

File metadata

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

File hashes

Hashes for gwfolding-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c826689f07afa81eb611ede62da31154b3a49a77e01a89d95d2471b6a72233bd
MD5 116104cba7786943b95daa0d72509706
BLAKE2b-256 84c676092cae962f8095a494e4d7816194febb45366364c229d04804e50a5e18

See more details on using hashes here.

Provenance

The following attestation bundles were made for gwfolding-0.1.1-py3-none-any.whl:

Publisher: publish.yml on jishnu-suresh/gwfolding

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