Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 1.69 KB

File metadata and controls

46 lines (37 loc) · 1.69 KB

a217d0b8-c7d9-410c-987c-3738cb58b0a5

PyART

Python Analytical Relativity Toolkit

License: MIT Build Status Documentation Status pre-commit.ci status

Getting started

Install with

pip install .

Note: PyART depends on pycbc, which currently has two incompatibilities with numpy 2.x. After installing, apply the one-time patch:

python scripts/patch_pycbc_numpy2.py

This patches pycbc's events/threshold_cpu.py and filter/matchedfilter.py in-place. It is idempotent and safe to re-run after pycbc upgrades.

For developers

If you are a developer:

  • Install pre-commit hooks (this will automatically format code with black):
    pip install pre-commit
    pre-commit install
    

Note: pre-commit.ci is enabled for this repository, which will automatically format code with black on all pull requests.