pocomc plugin for bilby
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pocomc_bilby-0.2.0.tar.gz.
File metadata
- Download URL: pocomc_bilby-0.2.0.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f4068a806503376dbaa56ea039745485f6a0334df9f42b641538d27b5e85ef4
|
|
| MD5 |
1868e43043fae4f77ec2b26603a92e30
|
|
| BLAKE2b-256 |
b9098f345142cde341f236267dee45c812e818fb7d014018504f4da83b3e499d
|
Provenance
The following attestation bundles were made for pocomc_bilby-0.2.0.tar.gz:
Publisher:
publish.yml on mj-will/pocomc-bilby
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pocomc_bilby-0.2.0.tar.gz -
Subject digest:
7f4068a806503376dbaa56ea039745485f6a0334df9f42b641538d27b5e85ef4 - Sigstore transparency entry: 592665208
- Sigstore integration time:
-
Permalink:
mj-will/pocomc-bilby@79702d1593d2db1976165c3938815a086761dc8a -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/mj-will
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@79702d1593d2db1976165c3938815a086761dc8a -
Trigger Event:
release
-
Statement type:
File details
Details for the file pocomc_bilby-0.2.0-py3-none-any.whl.
File metadata
- Download URL: pocomc_bilby-0.2.0-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89454a65d63ce08a8958f8924ac11f601e1cf2f8f6b3886ab3c37c2bb3ccf522
|
|
| MD5 |
ea3d6c67da80c02515db2b84c37786f6
|
|
| BLAKE2b-256 |
db16e15f1efc0d12ccf51fe80cae2052b22c9242b45fb27f09afafd24bc44090
|
Provenance
The following attestation bundles were made for pocomc_bilby-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on mj-will/pocomc-bilby
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pocomc_bilby-0.2.0-py3-none-any.whl -
Subject digest:
89454a65d63ce08a8958f8924ac11f601e1cf2f8f6b3886ab3c37c2bb3ccf522 - Sigstore transparency entry: 592665348
- Sigstore integration time:
-
Permalink:
mj-will/pocomc-bilby@79702d1593d2db1976165c3938815a086761dc8a -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/mj-will
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@79702d1593d2db1976165c3938815a086761dc8a -
Trigger Event:
release
-
Statement type: