taurex-emcee is a plugin for the TauREx 3.1 package that enables automated, parallelized atmospheric retrievals with the emcee sampler.
Project description
taurex-emcee
Introduction
taurex-emcee
is a plugin for TauREx 3.1 that provides the Emcee sampler by Dan Foreman-Mackey & contributors for the retrieval.
Table of contents
How to install
Instructions on how to install taurex-emcee
.
Install from PyPI
taurex-emcee
is available on PyPI and can be installed via pip as
pip install taurex_emcee
Install from source code
taurex-emcee
is compatible (tested) with Python 3.8, 3.9 and 3.10
To install from source, clone the repository and move inside the directory.
Then use pip
as
pip install .
Test your installation
Try importing taurex-emcee
as
python -c "import taurex_emcee"
You can verify if the plugin is functioning by seeing if TauREx successfully detects taurex-emcee
.
taurex --plugins
If there are no errors then the installation was successful!
Documentation
taurex-emcee
comes with a documentation, which can be built using Sphinx.
The documentation includes a tutorial, a user guide and a reference guide.
To build the documentation, install the needed packages first via:
pip install -e ".[docs]"
Build the html documentation
To build the html documentation, move into the docs
directory and run
make html
The documentation will be produced into the build/html
directory inside docs
.
Open index.html
to read the documentation.
Build the pdf documentation
To build the pdf, move into the docs
directory and run
make latexpdf
The documentation will be produced into the build/latex
directory inside docs
.
Open taurex_emcee.pdf
to read the documentation.
The developers use pdflatex
; if you have another compiler for LaTex, please refer to sphinx documentation.
How to contribute
You can contribute to taurex-emcee
by reporting bugs, suggesting new features, or contributing to the code itself.
If you wish to contribute to the code, please follow the steps described in the documentation under Developer guide
.
How to cite
A dedicated publication has been submitted and the relative information will be published soon. In the meanwhile, please, send an email to the developers.
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
File details
Details for the file taurex_emcee-0.4.0rc0.tar.gz
.
File metadata
- Download URL: taurex_emcee-0.4.0rc0.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db466a580191cc0bf82afd2546fe51cad44163b9a70fbae161bc8d619e1a8d89 |
|
MD5 | 7475d5d1ffb77333932128fd6e55e9aa |
|
BLAKE2b-256 | 0b73df51104509bd52f3d0a7c3942476ba46af4fe5563c4ad10c635538badc78 |
File details
Details for the file taurex_emcee-0.4.0rc0-py3-none-any.whl
.
File metadata
- Download URL: taurex_emcee-0.4.0rc0-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 062e0fbcec438d6331c6216b1a5450934c5ed1cd26f747e691dc130404d149f7 |
|
MD5 | 0c21cc2c3b9394aab31a8b41c045be12 |
|
BLAKE2b-256 | 524a3470760464cf7dccf12490033dfff10541b92ac2372fe9578e0f7335bac5 |