pocomc-bilby
pocomc plugin for bilby.
This package provides a plugin for using pocomc with bilby via the sampler plugins interface. pocomc is Sequential Monte Carlo sampler
that implements a specific flavour of SMC called Persistent Sampling. For more details,
see the pocomc documentation.
Installation
Note: since pocomc depends on torch we recommend installing it first using
the instructions on the PyTorch website.
pocomc-bilby is can be installed via pip:
pip install pococmc-bilby
Note: this plugin only supports pocomc>=1.2.6.
Usage
Once installed, pocomc can be used as you would any other sampler in bilby:
import bilby
# Define likelihood & priors as normal
priors = ...
likelihood = ...
bilby.run_sampler(
sampler="pocomc",
...
)
pocomc has two different types of settings, those specified when initializing the
sampler and those specified when calling the run method. When using pocomc via
bilby both types of settings can be passed to run_sampler and these will automatically
be passed to the correct method.
For details about the various settings, see the pocomc documentation.
This plugin is also compatible with bilby_pipe, including support for checkpointing.
Attribution & Citation
If you use pocomc-bilby in your own work please cite the DOI for this package, corresponding paper (to be added) and the
citations for pocomc,
see Attribution & Citation in the pocomc documentation
Metadata
Release files for pocomc-bilby 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pocomc_bilby-0.2.2.tar.gz | 12.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pocomc_bilby-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.9 kB
Release files / pocomc_bilby-0.2.2.tar.gz
| Download URL | pocomc_bilby-0.2.2.tar.gz |
|---|---|
| Size | 12.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66ef34ed82badd520e0116795766da2e703fa43d38ba65c9b311d5494e23a89c
|
|
BLAKE2b-256 checksum How to use checksums |
9c9bcc827b0fe57aa465202e4a80167ac60466347375908606254154a5844b52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 12, 2025.
Transparency logRelease files / pocomc_bilby-0.2.2-py3-none-any.whl
| Download URL | pocomc_bilby-0.2.2-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0a54e5541662d8dff283af94c22e9416f020aafb5d142bc141ad6583799e5693
|
|
BLAKE2b-256 checksum How to use checksums |
c746f16aad4bb9bc74b8aed937b53b611380acc678ab667b3e88b1818a7876a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 12, 2025.
Transparency log