Skip to main content

Plugin for using pypolychord with bilby.

Project description

pypolychord-bilby

pypolychord plugin for bilby.

This plugin provides the pypolychord sampler in bilby.

Installation

First, install PolyChordLite and pypolychord following the instructions in the PolyChordLite documentation.

Once pypolychord is installed, install the plugin from PyPI:

pip install pypolychord-bilby

or from conda-forge

conda install conda-forge:pypolychord-bilby

Usage

Once pypolychord-bilby is installed, the sampler can be used directly in bilby via the run_sampler function:

import bilby

likelihood = ...
priors = ...

bilby.run_sampler(
    sampler="pypolychord",
    likelihood=likelihood,
    priors=priors,
    nlive=1000,
    ...
)

Usage with bilby_pipe

This plugin has not been tested with bilby_pipe.

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

pypolychord_bilby-0.1.0.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

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

pypolychord_bilby-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file pypolychord_bilby-0.1.0.tar.gz.

File metadata

  • Download URL: pypolychord_bilby-0.1.0.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pypolychord_bilby-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ce9bb03424ed614379743c648643fcf3c843bd99f8196404ab02d5f2bc771e5c
MD5 a6e2072f7e799d0e22d99a1a236257f6
BLAKE2b-256 d797d3954d923889632faf983f79111aa13c83b9306b2e9293d87dca1747419e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypolychord_bilby-0.1.0.tar.gz:

Publisher: publish.yml on bilby-dev/pypolychord-bilby

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pypolychord_bilby-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pypolychord_bilby-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c0e0dd60473db4a0b3549c92556e7f4591c62a8d40c454bfce8ab20e8ae43f3
MD5 b0b5292dd3cd548f4731788c6e2f44a6
BLAKE2b-256 67548e62cf30f324d78a68f691d4a2023d0fd81763a812fca1ff7a64a67a71c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypolychord_bilby-0.1.0-py3-none-any.whl:

Publisher: publish.yml on bilby-dev/pypolychord-bilby

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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