Plugin for using dnest4 with bilby.
Project description
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.
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 dnest4_bilby-0.1.0.tar.gz.
File metadata
- Download URL: dnest4_bilby-0.1.0.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89bc2862e47e0c38a40d71e1ca497e98a509173084339cdfd0b64a1d6f61de44
|
|
| MD5 |
41ca07316bf75fbb0e0aa3e4643d6afe
|
|
| BLAKE2b-256 |
288d47297085b05b8126f2e6d1fad579b49c56196fe3a49ef4d25b8c22130f2e
|
Provenance
The following attestation bundles were made for dnest4_bilby-0.1.0.tar.gz:
Publisher:
publish.yml on bilby-dev/dnest4-bilby
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dnest4_bilby-0.1.0.tar.gz -
Subject digest:
89bc2862e47e0c38a40d71e1ca497e98a509173084339cdfd0b64a1d6f61de44 - Sigstore transparency entry: 1508376418
- Sigstore integration time:
-
Permalink:
bilby-dev/dnest4-bilby@a6915ebb0b4efbbfa4756adc77b632bb1c927691 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/bilby-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a6915ebb0b4efbbfa4756adc77b632bb1c927691 -
Trigger Event:
release
-
Statement type:
File details
Details for the file dnest4_bilby-0.1.0-py3-none-any.whl.
File metadata
- Download URL: dnest4_bilby-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
096e557e96b8164c8b629a2e4cac0da62df4ce5e7fb311568229d65ff4b6aa68
|
|
| MD5 |
309ae480825b013b3320e9dfc16e25bd
|
|
| BLAKE2b-256 |
bffcaa430cf716dacbb54785ad0d8cc12c94de2353f4da103144944b51792e68
|
Provenance
The following attestation bundles were made for dnest4_bilby-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on bilby-dev/dnest4-bilby
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dnest4_bilby-0.1.0-py3-none-any.whl -
Subject digest:
096e557e96b8164c8b629a2e4cac0da62df4ce5e7fb311568229d65ff4b6aa68 - Sigstore transparency entry: 1508376467
- Sigstore integration time:
-
Permalink:
bilby-dev/dnest4-bilby@a6915ebb0b4efbbfa4756adc77b632bb1c927691 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/bilby-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a6915ebb0b4efbbfa4756adc77b632bb1c927691 -
Trigger Event:
release
-
Statement type: