pygwb
pygwb: A python-based, user-friendly library for gravitational-wave background (GWB) searches with ground-based interferometers.
pygwb provides a modular and flexible codebase to analyse laser interferometer data and design a GWB search pipeline. It is tailored to current ground-based interferometers: LIGO Hanford, LIGO Livingston, and Virgo, but can be generalized to other configurations. It is based on the existing packages gwpy and bilby, for optimal integration with widely-used GW data anylsis tools.
pygwb also includes a set of pre-packaged analysis scripts which may be used to analyse data and perform large-scale searches on a high-performance computing cluster efficiently.
Installation instructions
-
Essentials to support
pygwbare present in live igwn conda environments https://computing.docs.ligo.org/conda/ -
More precisely, current dependencies are
numpyscipy>=1.8.0matplotlibcornergwpy>=3.0.1bilby>=1.4astropy>=5.2lalsuite>=7.3gwdetchargwsummpycondorlogurujson5seaborn
Modules
The code is structured into a set of modules and objects.
detector.py: contains theInterferometerobject. TheInterferometermanages data reading, preprocessing, and PSD estimation.baseline.py: contains theBaselineobject. TheBaselineis the core manager object in the stochastic analysis.network.py: contains theNetworkobject. TheNetworkis used to combine results from indibidualBaselinesas well as simulating data across anInterferometernetwork.preprocessing.py: methods for initial data-conditioning steps (high-pass filter and downsampling) on data from an individual detector. Supports importing public, private, or local data.spectral.py: methods to calculate CSDs and PSDs for sub-segments in a dataset, made of coincident time segments for a pair of detectors.postprocessing.py: methods to combine individual segment cross-correlation spectrograms into a final spectrum, in units of fractional energy density.omega_spectra.py: contains theOmegaSpectrumandOmegaSpectrogramobjects.pe.py: contains model objects to perform pe withBilby.statistical_checks.py: Contains theStatisticalChecksobject, and methods to run statistical checks on results from an analysis run.simulator.py: Contains theSimulatorobject, which can simulate data for a set of detectors.delta_sigma_cut.py: Methods to perform the delta-sigma data quality cut.notch.py: Contains theStochNotchandStochNotchListobjects, which store information about frequency notches to be applied to the analyzed data spectra.constants.py: contains numerical values of constants used throughout the codebase.orfs.py: Methods to calcuate overlap reduction functions.parameters.py: Contains theParametersdataclass.util.py: contains miscellaneous useful functions used throughout the codebase.
Scripts
A set of scripts are included and maintained to run every-day stochastic tasks.
pygwb_pipe: runs the cross-correlation stochastic analysis over data from selected detector pair, within the timeframes requested.pygwb_combine: combines over multiplepygwb_pipeoutput files. Useful when running long analyses in parallel.pygwb_pe: runs parameter estimation on desired model.pygwb_stats: produces regular statistical checks output.pygwb_dag: supports the creation of a dag file for condor job submission.
Metadata
Release files for pygwb 1.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pygwb-1.5.1.tar.gz | 125.3 kB | Without provenance | Details for pygwb-1.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pygwb-1.5.1-py3-none-any.whl | Python 3 | none | any | Details for pygwb-1.5.1-py3-none-any.whl |
Total release size: 249.6 kB
Release files / pygwb-1.5.1.tar.gz
| Download URL | pygwb-1.5.1.tar.gz |
|---|---|
| Size | 125.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
675da6be45411e39b0032913499de3189abcf2f3bc4e48ff3bd208f86d22fa1d
|
|
BLAKE2b-256 checksum How to use checksums |
f8279f52fa4b2aa76fe633b377cbabed0a32179642ed9fa6656fab47aef82108
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|
Release files / pygwb-1.5.1-py3-none-any.whl
| Download URL | pygwb-1.5.1-py3-none-any.whl |
|---|---|
| Size | 124.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e70ad2e19659b531b711b08756540dca0c8d7d11944baca53770bad79e97f5f
|
|
BLAKE2b-256 checksum How to use checksums |
f7a8bd94139407ccd2342fb8994ad9733d203e441361061f37a9ebf7428cf73d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|
Security for pygwb 1.5.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.