nessai-models
Models for use with the nested sampling package nessai.
Included models
- n-dimensional unit Gaussian
- n-dimensional HalfGaussian
- n-dimensional Rosenbrock
- n-dimensional mixture of Gaussians
- n-dimensional slab plus spike model
- Gaussian mixture using data to based on this example from
cpnest - n-dimensional Egg Box based on the version in Feroz et al. 2008
- n-dimensional Pyramid-like model
- n-dimensional Brewer likelihood (Skilling's "Staistical Model") from Brewer et al.
- Linear signal plus Gaussian noise model (
LinearSignal) - Sinusoidal signal plus Gaussian noise model (
SinusoidalSignal) - Mixture of 1-dimensional distributions (
MixtureOfDistributions)
Requirements
nessai_models requires:
numpyscipynessai>=0.6.0
Installation
We recommend following the installation instructions for
nessaiand then installingnessai_modelssince it shares all of its dependencies withnessai.
nessai_models can be install from PyPI using
pip install nessai-models
Example usage
Below is an example of using nessai_models so configure a 4-dimensional Gaussian and then sample it using nessai.
from nessai import FlowSampler
from nessai_models import Gaussian
model = Gaussian(4)
fs = FlowSampler(model, output='example/')
fs.run()
Citing
If you use nessai_models in your work please cite the Zenodo DOI
Metadata
Release files for nessai-models 0.5.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 |
|---|---|---|---|---|
| nessai-models-0.5.0.tar.gz | 18.1 kB | Without provenance | Details for nessai-models-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nessai_models-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for nessai_models-0.5.0-py3-none-any.whl |
Total release size: 32.6 kB
Release files / nessai-models-0.5.0.tar.gz
| Download URL | nessai-models-0.5.0.tar.gz |
|---|---|
| Size | 18.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae06c8173227522cba265745aef3c68eac28f0008c6707d28c54fb6ba7af6537
|
|
BLAKE2b-256 checksum How to use checksums |
67f8f400efd412a1f9b4b4ad30c55e70b4a234fbf2254aa7f49c6575550cba44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|
Release files / nessai_models-0.5.0-py3-none-any.whl
| Download URL | nessai_models-0.5.0-py3-none-any.whl |
|---|---|
| Size | 14.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ae9092f62da024f29e777d74e61f4e03d64f4dc5698902971192755cae165fe4
|
|
BLAKE2b-256 checksum How to use checksums |
d7e49cae430f752a1f0e515d801ea1080fba7e2102d201bf4e941d3ee8f57d00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|
Security for nessai-models 0.5.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.