Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

PycWB

Documentation Build Status Coverage Releases PyPI version License

PycWB is a modular Python implementation of the coherent WaveBurst (cWB/cWB-2G) algorithms for gravitational-wave burst searches. The documentation can be found at pycwb.readthedocs.io.

Installation

Install PycWB with pip

PycWB is available on PyPI. You can install it with pip. Some dependencies are required before installing pycwb with pip. The easiest way is to install them with conda. For regular use, install the pure Python path first. ROOT is optional and is only needed when testing ROOT-backed components or comparing against ROOT/C++ cWB behavior.

Python requirement: >=3.10

conda create -n pycwb python=3.13
conda activate pycwb
conda install -c conda-forge nds2-client python-nds2-client lalsuite python-ligo-lw setuptools_scm cmake pkg-config
python3 -m pip install pycwb

Optional ROOT-backed testing environment

Use this only if you explicitly want to test the ROOT-backed extension or ROOT/C++ interoperability paths. Currently, the ROOT-enabled pycwb build is available on x86_64 platforms.

conda create -n pycwb python=3.13
conda activate pycwb
conda install -c conda-forge root=6 healpix_cxx=3 nds2-client python-nds2-client lalsuite python-ligo-lw setuptools_scm cmake pkg-config
python3 -m pip install pycwb

For Apple Silicon users, if you need this optional ROOT-enabled environment, install dependencies with the following commands:

# make sure rosetta is installed
softwareupdate --install-rosetta --agree-to-license
# Optional: export CONDA_BUILD=1
conda create -n pycwb_x64
conda activate pycwb_x64
conda config --env --set subdir osx-64
conda install python==3.11 root=6.28 healpix_cxx=3 nds2-client python-nds2-client lalsuite python-ligo-lw setuptools_scm cmake pkg-config ruamel.yaml htcondor
python3 -m pip install pycwb

Install PycWB from source

The default source install does not require ROOT.

conda create -n pycwb python
conda activate pycwb
conda install -c conda-forge nds2-client python-nds2-client lalsuite python-ligo-lw setuptools_scm cmake pkg-config
git clone git@git.ligo.org:yumeng.xu/pycwb.git
cd pycwb
python -m pip install .

To test the optional ROOT-backed extension from source, install root=6 and healpix_cxx=3 in the same conda environment before running python -m pip install .. If ROOT is not available, setup skips the C++ wavelet extension and installs the native Python path.

Usage

Example project can be found in examples

from pycwb.workflow.run import search

search('./user_parameters.yaml')

or run with command line

pycwb run ./user_parameters.yaml

Verify installation

pycwb --version
pycwb --help

Quick start for config setup

For one-command project setup and optional job submission, see QUICKSTART_CONFIG_SETUP.md.

Interactive tutorial

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycwb-1.1.0a1.tar.gz (52.9 MB view details)

Uploaded Source

File details

Details for the file pycwb-1.1.0a1.tar.gz.

File metadata

  • Download URL: pycwb-1.1.0a1.tar.gz
  • Upload date:
  • Size: 52.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for pycwb-1.1.0a1.tar.gz
Algorithm Hash digest
SHA256 ffaebce2400442d9eb83cf5054527661cc3581cf93df0047fcc0acdc790b5763
MD5 ab462c4e5f8075d4ea1bb7206c7d8f62
BLAKE2b-256 fd35c7d5aa9edba92ec7b140acd1c64dcb7fdfca57b0c357f304b33794b12ee6

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.0a1 This release

1 file

0.31.0

1 file

0.30.2

1 file

0.30.1

1 file

0.30.0

1 file

0.29.1

1 file

0.29.0

1 file

0.28.0

1 file

0.27.1

1 file

0.27.0

1 file

0.26.0

1 file

0.25.0

1 file

0.24.0

1 file

0.23.2

1 file

0.23.1

1 file

0.23.0

1 file

0.22.2

1 file

0.22.1

1 file

0.22.0

1 file

0.21.0

1 file

0.20.0

1 file

0.19.1

1 file

0.19.0

1 file

0.18.4

1 file

0.18.3

1 file

0.18.2

1 file

0.18.1

1 file

0.17.4

1 file

0.17.3

1 file

0.17.2

1 file

0.17.1

1 file

0.17.0

1 file

0.16.1

1 file

0.16.0

1 file

0.15.10

1 file

0.15.9

1 file

0.15.8

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page