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 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.

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.2.tar.gz (19.6 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.2-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gwfolding-0.1.2.tar.gz
  • Upload date:
  • Size: 19.6 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.2.tar.gz
Algorithm Hash digest
SHA256 1140a850601e3b3a9f9d117585a6a6084e1073ef9ed505b62868d94333fa4f6b
MD5 5dc218382db0e6ef253188d7125196a6
BLAKE2b-256 ba86615dcd62fbc9e3a410dab7b8d4466ea73ab06493e89baf3bd63535e53158

See more details on using hashes here.

Provenance

The following attestation bundles were made for gwfolding-0.1.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: gwfolding-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 18.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0d3356168a0a6fa24a5fa6efda7594dad3c388d630fdd3dd0b7a5b0e24f03f4a
MD5 b650bc9b6ef0f783eb3a417deffd783b
BLAKE2b-256 95795971813c570c1a82b8abed45954771ddb53f8bc741b914376aab3708f5e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for gwfolding-0.1.2-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