Continuous-wave search sensitivity simulator (cows3)
A Python package to estimate the sensitivity of general continuous gravitational-wave searches.
The method should be equivalent to the semi-analytical approach derived in Dreissigacker, Prix, Wette (2018) and implemented in Octapps, but here we implement it in Python to make it more convenient to use.
How to install
cows3 is available under PyPI:
pip install cows3
Citing this work
If cows3 was useful to your research, we would appreciate if you cited
Mirasola & Tenorio (2024) where this
implementation was first presented:
@article{Mirasola:2024lcq,
author = "Mirasola, Lorenzo and Tenorio, Rodrigo",
title = "{Toward a computationally efficient follow-up pipeline for blind continuous gravitational-wave searches}",
eprint = "2405.18934",
archivePrefix = "arXiv",
primaryClass = "gr-qc",
reportNumber = "LIGO-P2400221",
doi = "10.1103/PhysRevD.110.124049",
journal = "Phys. Rev. D",
volume = "110",
number = "12",
pages = "124049",
year = "2024"
}
as well as a Zenodo release of this software.
For the semi-analytical sensitivity estimation method you should also cite Wette (2012) and Dreissigacker, Prix, Wette (2018). Also, this package makes extensive use of SWIG bindings, so please cite Wette (2021) as well.
Quick example
The examples/ directory contains a runnable script that estimates
CW sensitivity for three detectors: H1, L1, and a custom PB_10k detector.
pip install cows3[examples] # adds matplotlib
python examples/two_detector_different_psd.py
The script draws an isotropic population of CW sources, computes the
unit-depth SNR² distribution, and evaluates the false-dismissal
probability at selected sensitivity depths (Sec. II.3 of
arXiv:2405.18934). It also saves a
histogram of the SNR² distribution to result.pdf.
To experiment with the setup, edit the detector noise levels, observation time, and sensitivity depths directly in the script.
Note: This example concerns continuous-wave F-statistic sensitivity. It does not implement stochastic-background cross-correlation or overlap-reduction-function analyses.
Authors
- Rodrigo Tenorio
- Lorenzo Mirasola
Metadata
Release files for cows3 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cows3-0.1.0.tar.gz | 17.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cows3-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.2 kB
Release files / cows3-0.1.0.tar.gz
| Download URL | cows3-0.1.0.tar.gz |
|---|---|
| Size | 17.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9ea7cbbbd187bb13da0f5a4225a32a785efaad4515b81208caecc8ba87f5513d
|
|
BLAKE2b-256 checksum How to use checksums |
a872251e1168f4363412c26e0f5606256be03ccc0d5b5f0de5d234a75a19cb96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 21, 2026.
Transparency logRelease files / cows3-0.1.0-py3-none-any.whl
| Download URL | cows3-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
255267085ffc6644d73e82a552e1f0c723f0d50d9dac9a657d13e6b3087add3d
|
|
BLAKE2b-256 checksum How to use checksums |
60c026f0049a5bf58363b78122630959b9545dbad229277b920f02f0ebc2aac4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 21, 2026.
Transparency log