NebulaBayes is a package for astronomers that aims to provide a very general way to compare observed emission line fluxes to model predictions, in order to constrain physical parameters such as the nebular metallicity.
NebulaBayes is provided with two photoionization model grids produced using the MAPPINGS 5.1 model. One grid is a 3D HII-region grid which may be used to constrain the oxygen abundance (12 + log O/H), ionisation parameter (log U) and gas pressure (log P/k). The other grid is for AGN narrow-line regions (NLRs) and has 4 dimensions, with the added parameter “log E_peak” being a measure of the hardness of the ionising continuum. NebulaBayes accepts model grids in a simple table format, and is agnostic to the number of dimensions in the grid, the parameter names, and the emission line names.
The NebulaBayes.NB_Model class is the entry point for performing Bayesian parameter estimation. The class is initialised with a chosen model grid, at which point the model flux grids are loaded, interpolated, and stored. The NB_Model instance may then be called one or more times to run Bayesian parameter estimation using observed fluxes. Many outputs are available, including tables and figures, and all results and working are stored on the object returned when the NB_Model instance is called.
The documentation assumes some knowledge of Bayesian statistics and scientific python (numpy, matplotlib and pandas).
NebulaBayes is heavily based on IZI (Blanc+ 2015).
If you use NebulaBayes, please cite http://adsabs.harvard.edu/abs/2018ApJ…856…89T.
The package has been tested on Python 2.7 and Python 3.5.
Metadata
Release files for NebulaBayes 0.9.9
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 | |
|---|---|---|---|---|
| NebulaBayes-0.9.9.tar.gz | 47.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| NebulaBayes-0.9.9-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 4.5 MB
Release files / NebulaBayes-0.9.9.tar.gz
| Download URL | NebulaBayes-0.9.9.tar.gz |
|---|---|
| Size | 47.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8d8f1841866f0db6e46964a1c818b41fcd2b84614bdf9c27b2e3c56ac61bc01f
|
|
BLAKE2b-256 checksum How to use checksums |
019a60d959e3a2adcecd9363c7da8b498070e22f5f409770edd157c07f563784
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
|
Release files / NebulaBayes-0.9.9-py2.py3-none-any.whl
| Download URL | NebulaBayes-0.9.9-py2.py3-none-any.whl |
|---|---|
| Size | 4.4 MB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
45ba6a9f8d4fd8f415d09c8743c83efce3582035ca4af09401752c8c20791b1b
|
|
BLAKE2b-256 checksum How to use checksums |
3c6464166a2f60a34e9d214e7535c102e6786ba6397a1fc3095cec00fd25c622
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
|
Security for NebulaBayes 0.9.9
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.