A package for detecting, vetting and modelling transiting exoplanets on uncertain periods
Project description
MonoTools: A python package for planets of uncertain period
MonoTools is a package specific to modelling transiting exoplanets with unknown periods (Monos, Duos, Trios, etc).
Full documentation is are taking shape at readthedocs.
MonoTools.fit is an update to my previous Namaste code using the "exoplanet" models of Dan Foreman-Mackey et al.
This uses a PyMC
(v5)/pytensor
back-end, a differentiable Keplerian orbital model, and the Gaussian process modeling of Celerite to fit exoplanetary transits. For the old and buggy PyMC3 backend-based, manually install the old_pymc3
branch via github.
Here we wrap the "exoplanet" core model to specify it for single and "duo"-transits, and plot/analyse the results.
The first use of MonoTools
in a published paper can be found in Osborn+ (2022) where MonoTools helped recover the orbits of the two outer planets in the TOI-2076 system. Additionally, it can be directly cited thanks it's position the Astrophysics Source Code Library.
Full installation and usage advice on "ReadTheDocs"
Installing
To install, I recommend using a virtual environment, as some of the packages required are not at their most recent versions.
MonoTools should be pip installable, therefore run pip install MonoTools
.
Alternatively, to run the most up-to-date development version, you can run git clone http://github.com/hposborn/MonoTools
, cd
into the MonoTools folder, then run pip install .
(plus make sure the folder where MonoTools is installed is included in your $PYTHONPATH
, e.g. by adding export PYTHONPATH=/path/to/dir:$PYTHONPATH
to your .bashrc
file).
MonoTools will look at the $MONOTOOLSPATH
bash variable as the location to store files, and defaults to MonoTools/data
. Include this in your .bashrc
file to modify this location.
Using MonoTools
For a tutorial on how to deal with the in-built lightcurve class, see using_lightcurve.ipynb.
Various examples for fitting applications can be found for:
Project details
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 monotools-1.0.0.tar.gz
.
File metadata
- Download URL: monotools-1.0.0.tar.gz
- Upload date:
- Size: 103.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
a13bf602b6d4859c000ba33e76330fef99e08a6a2db5fef8de271f9e7436e905
|
|
MD5 |
43304aa69b0fc748fb19c5584a5a8589
|
|
BLAKE2b-256 |
47d8a939ac46952f00bda3f96bf9080d9350986a3ed4b9514d51cae7d2da026b
|
File details
Details for the file monotools-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: monotools-1.0.0-py3-none-any.whl
- Upload date:
- Size: 103.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
51eb431fbf3d144d3fb2f803c75cfb05321c3c42f97c74617c997ad58d1f067f
|
|
MD5 |
dc335b4c09d9d1171285f878a90af8aa
|
|
BLAKE2b-256 |
b4f25408d9dd5ee0dae38eb8787fe450fa97097884212e7db75691c407d3caea
|