Skip to main content

Bayesian Jenaer Software

Project description

PyPI PyPI - Python Version PyPI - License

bajes [baɪɛs] is a Python software for Bayesian inference developed at Friedrich-Schiller-Universtät Jena and specialized in the analysis of gravitational-wave and multi-messenger transients. The software is designed to be state-of-art, simple-to-use and light-weighted with minimal dependencies on external libraries.

Installation

bajes is compatible with Python v3.7 (or higher) and it is built on modules that can be easily installed via pip. The mandatory dependencies are numpy, scipy and astropy. However, the user might need to download some further packages. See INSTALL for more information.

Modules

bajes provides an homonymous Python module that includes:

  • bajes.inf: implementation of the statistical objects and Bayesian workflow,
  • bajes.obs: tools and methods for data analysis of multi-messenger signals. For more details, visit gw_tutorial.

Inference

The bajes package provides a user-friendly interface capable to easily set up a Bayesian analysis for an arbitrary model. Providing a prior file and a likelihood function, the command

python -m bajes -p prior.ini -l like.py -o /path/to/outdir/

will run a parameter estimation job, inferring the properties of the input model. For more details, visit inf_tutorial or type python -m bajes --help.

Pipeline

The bajes infrastructure allows the user to set up a pipeline for parameters estimation of multi-messenger transients. This can be easily done writing a configuration file, that contains the information to be passed to the executables. Subsequently, the following command,

bajes_pipe config.ini

will generates the requested output directory, if it does not exists, and the pipeline will be written into a bash executable (/path/to/outdir/jobname.sub). For more details, visit conifg_example.

The GW pipeline incorporates an interface with reduced-order-quadratude (ROQ) interpolants. In particular, the ROQ pipeline relies on the output provided by JenpyROQ.

Credits

bajes is developed at the Friedrich-Schiller-Universität Jena, visit CREDITS for more details.

If you find bajes useful in your research, please include the following citation in your publication,

@article{Bajes:2021,
         author = "Breschi, Matteo and Gamba, Rossella and Bernuzzi, Sebastiano",
         title = "{Bayesian inference of multimessenger astrophysical data: Methods and applications to gravitational waves}",
         eprint = "2102.00017",
         archivePrefix = "arXiv",
         primaryClass = "gr-qc",
         doi = "10.1103/PhysRevD.104.042001",
         journal = "Phys. Rev. D",
         volume = "104",
         number = "4",
         pages = "042001",
         year = "2021"
        }

Acknowledgement

bajes has benefited from open source libraries, including the samplers,

and the gravitational-wave analysis packages,

We also acknowledge the LIGO-Virgo-KAGRA Collaboration for maitaining the GWOSC.

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

bajes-1.3.0.tar.gz (17.3 MB view details)

Uploaded Source

Built Distribution

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

bajes-1.3.0-py3-none-any.whl (17.4 MB view details)

Uploaded Python 3

File details

Details for the file bajes-1.3.0.tar.gz.

File metadata

  • Download URL: bajes-1.3.0.tar.gz
  • Upload date:
  • Size: 17.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.19

File hashes

Hashes for bajes-1.3.0.tar.gz
Algorithm Hash digest
SHA256 ff6cbc07abcf45d1c5dd950cde5afb4623d9f90b6ddbc231500fbcbdec6d4410
MD5 d96e603cafdf70df1c0f6dc46652a8ad
BLAKE2b-256 ad2ceb994b1b66607ca1c519f074922048900e8cb87ad74ed5ed5704700f7da6

See more details on using hashes here.

File details

Details for the file bajes-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: bajes-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 17.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.19

File hashes

Hashes for bajes-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d5858198d5334cea8b5cde8ce34d09d12d070191b98a48bd80eef449455555b3
MD5 75cd3642f19ff96b42cd430913cd49f9
BLAKE2b-256 e8d731a928cdf3914e87d3671731e00304dfe810cb568e96b23b9482f541959c

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