Skip to main content

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

Project description

gwfolding

gwfolding logo

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.0.tar.gz (18.9 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.0-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gwfolding-0.1.0.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.12

File hashes

Hashes for gwfolding-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a4187d9ba9d80a216498bdc1ac414aa683c8068c8b8f351e8a0e839fd8a4147c
MD5 ad97a1663afbc1f4e994eadcffc7e992
BLAKE2b-256 c7800003f89704e61a6c2dbdfb69180fdf2e7676182056a1845ed0160b098539

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gwfolding-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.12

File hashes

Hashes for gwfolding-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 40a12f8dbbecaa34ff5cf256adb12005502f55d97dda83a9dbae07c7cf3a10b8
MD5 4c1df52f918e4ec18c5d18825ae13090
BLAKE2b-256 bff62686fcac885e35f8456dbe80be12f9d2c33c8e103039704af6e8fbed5164

See more details on using hashes here.

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