/pycwb

Primary LanguageC++GNU General Public License v3.0GPL-3.0

pycWB

Build Status Releases PyPI version License

pycWB is a modularized Python package for gravitational wave burst search based on the core function of cWB.

Installation

Install pycWB with pip

pycWB is available on PyPI. You can install it with pip. Some dependencies are required to be installed before installing pycWB with pip. The easiest way is to install them with conda.

conda create -n pycwb "python>=3.9,<3.11"
conda activate pycwb
conda install -c conda-forge root=6.26.10 healpix_cxx=3.81 nds2-client python-nds2-client lalsuite setuptools_scm cmake pkg-config
python3 -m pip install pycwb

Install pycWB from source

conda create -n pycwb python
conda activate pycwb
conda install -c conda-forge root=6.26.10 healpix_cxx=3.81 nds2-client python-nds2-client lalsuite setuptools_scm cmake pkg-config
git clone git@git.ligo.org:yumeng.xu/pycwb.git
cd pycwb
make install

Usage

Example project can be found in examples

from pycwb.search import search

search('./user_parameters.yaml')