Skip to main content

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:

Metadata

Release files for MonoTools 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for MonoTools 1.0.0
File Size Uploaded
monotools-1.0.0.tar.gz 103.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for MonoTools 1.0.0
File Interpreter ABI Platform
monotools-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 207.3 MB

Release files / monotools-1.0.0.tar.gz

Download URL monotools-1.0.0.tar.gz
Size 103.6 MB
Tags Source
SHA-256 checksum
How to use checksums
a13bf602b6d4859c000ba33e76330fef99e08a6a2db5fef8de271f9e7436e905
BLAKE2b-256 checksum
How to use checksums
47d8a939ac46952f00bda3f96bf9080d9350986a3ed4b9514d51cae7d2da026b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.18

Release files / monotools-1.0.0-py3-none-any.whl

Download URL monotools-1.0.0-py3-none-any.whl
Size 103.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
51eb431fbf3d144d3fb2f803c75cfb05321c3c42f97c74617c997ad58d1f067f
BLAKE2b-256 checksum
How to use checksums
b4f25408d9dd5ee0dae38eb8787fe450fa97097884212e7db75691c407d3caea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.18

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.2.1

1 release file

0.2.0

3 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page