dnest4-bilby
dnest4 plugin for bilby.
This plugin provides the dnest4 sampler in bilby.
Installation
This plugin is available via pip:
pip install dnest4-bilby
and conda:
conda install conda-forge:dnest4-bilby
Note: when installing via pip, you must install dnest4 separately.
Installing dnest4
dnest4 is available via conda, or
can be installed from source following these instructions.
Caveats
dnest4no longer provides a Python interface- The
condaversion of thednest4does not supportnumpy>2.0. - Due to changes in
numpyand Python that are incompatible withdnest4this plugin is only tested with Python < 3.11. It may be possible to compile a working version ofdynest4with more recentnumpyand Python versions but this has not been tested. - This plugin is tested against
dnest4versions 0.2.4 and 0.3.3, the latest versions available via conda-forge and PyPI respectively.
Usage
Once dnest4-bilby is installed, the sampler can be used directly in bilby via the run_sampler function:
import bilby
likelihood = ...
priors = ...
bilby.run_sampler(
sampler="dnest4",
likelihood=likelihood,
priors=priors,
nlive=1000,
...
)
Usage with bilby_pipe
This plugin has not been tested with bilby_pipe.
Metadata
Release files for dnest4-bilby 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dnest4_bilby-0.1.0.tar.gz | 10.2 kB | With provenance | Details for dnest4_bilby-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dnest4_bilby-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for dnest4_bilby-0.1.0-py3-none-any.whl |
Total release size: 16.7 kB
Release files / dnest4_bilby-0.1.0.tar.gz
| Download URL | dnest4_bilby-0.1.0.tar.gz |
|---|---|
| Size | 10.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
89bc2862e47e0c38a40d71e1ca497e98a509173084339cdfd0b64a1d6f61de44
|
|
BLAKE2b-256 checksum How to use checksums |
288d47297085b05b8126f2e6d1fad579b49c56196fe3a49ef4d25b8c22130f2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 11, 2026.
Transparency logRelease files / dnest4_bilby-0.1.0-py3-none-any.whl
| Download URL | dnest4_bilby-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
096e557e96b8164c8b629a2e4cac0da62df4ce5e7fb311568229d65ff4b6aa68
|
|
BLAKE2b-256 checksum How to use checksums |
bffcaa430cf716dacbb54785ad0d8cc12c94de2353f4da103144944b51792e68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 11, 2026.
Transparency logSecurity for dnest4-bilby 0.1.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for dnest4_bilby-0.1.0.tar.gz
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 May 11, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.