Skip to main content

Python package to extend the functionality of `bilby` to incorporate model accuracy into gravitational wave Bayesian analyses

Project description

bilby NR

Development status

Coverage report Pipeline Status

This Python package incorporates model accuracy into gravitational wave Bayesian analyses via the bilby Python package.

Installation

bilby_nr is currently available via PyPI and can be installed with:

$ pip install bilby_nr

Once bilby_nr has been installed, a custom version of bilby_pipe needs to be installed with:

$ pip install 'bilby_pipe @ git+https://git.ligo.org/charlie.hoy/bilby_pipe.git@input_class'

This version needs to be installed because we are waiting for required code to be merged into the main bilby_pipe code base. Please see the following merge request for details:

* `bilby_pipe!583 <https://git.ligo.org/lscsoft/bilby_pipe/-/merge_requests/583>`_

For full installation instructions, see our documentation.

Usage in bilby_pipe

The functionality in bilby_nr can be used with bilby_pipe as you would with any other frequency domain source model. It simply requires the following options to be specified in your configuration file:

analysis_executable_parser=bilby_nr.bilby_pipe.create_parser
waveform-approximant=IMRPhenomXPHMST,IMRPhenomTPHM,SEOBNRv5PHM
frequency-domain-source-model = bilby_nr.source.multi_model_binary_black_hole
waveform-arguments-dict={'match_interpolant': 'bilby_nr.match.match_from_pade_pade_interpolant'}

Citing

If you find bilby_nr useful in your work please cite the following papers:

@article{Hoy:2024vpc,
    author = "Hoy, Charlie and Akcay, Sarp and Mac Uilliam, Jake and Thompson, Jonathan E.",
    title = "{Incorporation of model accuracy in gravitational wave Bayesian inference}",
    eprint = "2409.19404",
    archivePrefix = "arXiv",
    primaryClass = "gr-qc",
    reportNumber = "LIGO-P2400393",
    doi = "10.1038/s41550-025-02579-7",
    journal = "Nature Astron.",
    volume = "9",
    number = "8",
    pages = "1256--1267",
    year = "2025"
}

@article{Hoy:2022tst,
    author = "Hoy, Charlie",
    title = "{Accelerating multimodel Bayesian inference, model selection, and systematic studies for gravitational wave astronomy}",
    eprint = "2208.00106",
    archivePrefix = "arXiv",
    primaryClass = "gr-qc",
    reportNumber = "LIGO-P2200228",
    doi = "10.1103/PhysRevD.106.083003",
    journal = "Phys. Rev. D",
    volume = "106",
    number = "8",
    pages = "083003",
    year = "2022"
}

Project details


Download files

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

Source Distribution

bilby_nr-0.1.0a1.tar.gz (32.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bilby_nr-0.1.0a1-py3-none-any.whl (31.0 kB view details)

Uploaded Python 3

File details

Details for the file bilby_nr-0.1.0a1.tar.gz.

File metadata

  • Download URL: bilby_nr-0.1.0a1.tar.gz
  • Upload date:
  • Size: 32.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for bilby_nr-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 19005f884889e5cfe1eac94d4dbe813579dff89d7cd7c5ef64d3f5f828d6a0b4
MD5 c768bfa6f430a551dc9e6d663ad26895
BLAKE2b-256 a7516e306673ed3e964d94b1e11dd70a776819c33f8ce19c93655fc042fbc6bc

See more details on using hashes here.

File details

Details for the file bilby_nr-0.1.0a1-py3-none-any.whl.

File metadata

  • Download URL: bilby_nr-0.1.0a1-py3-none-any.whl
  • Upload date:
  • Size: 31.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for bilby_nr-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 8bb8f74825543f9f4de06e0eabdfa8da83a3cf5e8e1ddb5b2200257d6b57d3a3
MD5 b87643e4887a2ef23d0428e114114528
BLAKE2b-256 0a58ac2e2b013b7ab69316d8045c9c4ab4999c0f2d9b21e451afc89f77347e6a

See more details on using hashes here.

Supported by

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