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 | |
|---|---|---|---|
| dnest4_bilby-0.1.0.tar.gz | 10.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dnest4_bilby-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
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 log