pytransit
Fast and easy exoplanet transit light curve modelling.
Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 3 DOI reference(s) in README -
✓Academic publication links
Links to: arxiv.org, zenodo.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.3%) to scientific vocabulary
Keywords
Repository
Fast and easy exoplanet transit light curve modelling.
Basic Info
Statistics
- Stars: 106
- Watchers: 4
- Forks: 23
- Open Issues: 6
- Releases: 24
Topics
Metadata Files
README.md
PyTransit
PyTransit: fast and versatile exoplanet transit light curve modelling in Python. PyTransit provides a set of optimised transit models with a unified API that makes modelling complex sets of heterogeneous light curve (nearly) as easy as modelling individual transit light curves. The models are optimised with Numba which allows for model evaluation speeds paralleling Fortran and C-implementations but with hassle-free platform-independent multithreading.
The package has been under continuous development since 2009, and is described in Parviainen (2015), Parviainen (2020a), and Parviainen & Korth (2020b).
```Python from pytransit import RoadRunnerModel
tm = RoadRunnerModel('quadratic') tm.set_data(times)
tm.evaluate(k=0.1, ldc=[0.2, 0.1], t0=0.0, p=1.0, a=3.0, i=0.5*pi)
tm.evaluate(k=[0.10, 0.12], ldc=[[0.2, 0.1], [0.5, 0.1]], t0=0.0, p=1.0, a=3.0, i=0.5*pi)
tm.evaluate(k=[[0.10, 0.12], [0.11, 0.13]], ldc=[[0.2, 0.1], [0.5, 0.1],[0.4, 0.2, 0.75, 0.1]], t0=[0.0, 0.01], p=[1, 1], a=[3.0, 2.9], i=[.5pi, .5pi]) ```
Examples and tutorials
EMAC Workshop introduction video
RoadRunner transit model
RoadRunner (Parviainen, 2020a) is a fast exoplanet transit model that can use any radially symmetric function to model stellar limb darkening while still being faster to evaluate than the analytical transit model for quadratic limb darkening.
- RRModel example 1 shows how to use RoadRunner with the included limb darkening models.
- RRModel example 2 shows how to use RoadRunner with your own limb darkening model.
- RRModel example 3 shows how to use an LDTk-based limb darkening model LDTkM with RoadRunner.
Transmission spectroscopy transit model
Transmission spectroscopy transit model (TSModel) is a special version of the RoadRunner model dedicated to modelling transmission spectrum light curves.
Documentation
Read the docs at pytransit.readthedocs.io.
Installation
PyPI
The easiest way to install PyTransit is by using pip
pip install pytransit
GitHub
Clone the repository from github and do the normal python package installation
git clone https://github.com/hpparvi/PyTransit.git
cd PyTransit
pip install .
Citing
If you use PyTransit in your reserach, please cite
Parviainen, H. MNRAS 450, 3233–3238 (2015) (DOI:10.1093/mnras/stv894).
or use this ready-made BibTeX entry
@article{Parviainen2015,
author = {Parviainen, Hannu},
doi = {10.1093/mnras/stv894},
journal = {MNRAS},
number = {April},
pages = {3233--3238},
title = {{PYTRANSIT: fast and easy exoplanet transit modelling in PYTHON}},
url = {http://mnras.oxfordjournals.org/cgi/doi/10.1093/mnras/stv894},
volume = {450},
year = {2015}
}
Author
- Hannu Parviainen, Instituto de Astrofísica de Canarias
Owner
- Name: Hannu Parviainen
- Login: hpparvi
- Kind: user
- Location: La Laguna, Tenerife, Spain
- Company: Instituto de Astrofísica de Canarias (IAC)
- Repositories: 42
- Profile: https://github.com/hpparvi
Ramón y Cajal Fellow studying exoplanets in the Instituto de Astrofísica de Canarias.
Citation (CITATIONS.bib)
@article{Parviainen2015,
title = {{PYTRANSIT}: {Fast} and easy exoplanet transit modelling in {PYTHON}},
volume = {450},
url = {https://academic.oup.com/mnras/article/450/3/3233/1074637},
doi = {10.1093/mnras/stv894},
number = {3},
journal = {Monthly Notices of the Royal Astronomical Society},
author = {Parviainen, Hannu},
month = jul,
year = {2015},
pages = {3233--3238}
}
@article{Parviainen2020a,
title = {Going back to basics: accelerating exoplanet transit modelling using {Taylor}-series expansion of the orbital motion},
volume = {499},
number = {3},
url = {https://academic.oup.com/mnras/article/499/3/3356/5911608},
doi = {10.1093/mnras/staa2953},
journal = {Monthly Notices of the Royal Astronomical Society},
author = {Parviainen, Hannu and Korth, Judith},
month = sep,
year = {2020},
}
@article{Parviainen2020b,
title = {{RoadRunner}: a fast and flexible exoplanet transit model},
volume = {499},
url = {https://academic.oup.com/mnras/article/499/2/1633/5911588},
doi = {10.1093/mnras/staa2901},
number = {2},
journal = {Monthly Notices of the Royal Astronomical Society},
author = {Parviainen, Hannu},
month = oct,
year = {2020},
pages = {1633--1639}
}
GitHub Events
Total
- Create event: 2
- Release event: 2
- Issues event: 3
- Watch event: 8
- Issue comment event: 1
- Push event: 8
- Fork event: 1
Last Year
- Create event: 2
- Release event: 2
- Issues event: 3
- Watch event: 8
- Issue comment event: 1
- Push event: 8
- Fork event: 1
Committers
Last synced: about 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Hannu Parviainen | h****u@i****s | 404 |
| Hannu Parviainen | h****i@g****m | 339 |
| Luca Borsato | b****a@g****m | 1 |
| Shashank Dholakia | s****1@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 18
- Total pull requests: 88
- Average time to close issues: 9 days
- Average time to close pull requests: 5 months
- Total issue authors: 14
- Total pull request authors: 2
- Average comments per issue: 2.11
- Average comments per pull request: 1.23
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 87
Past Year
- Issues: 2
- Pull requests: 0
- Average time to close issues: 3 days
- Average time to close pull requests: N/A
- Issue authors: 2
- Pull request authors: 0
- Average comments per issue: 0.5
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- jvines (2)
- jabienias (2)
- delinea (2)
- mhooton (2)
- JosephKarpinski (1)
- asmasca (1)
- n1md4 (1)
- mileslucas (1)
- TakuNishiumi (1)
- sylviankahane (1)
- simonehagey (1)
- LucaMalavolta (1)
- shashankdholakia (1)
- gaetanoscandariato (1)
Pull Request Authors
- dependabot-preview[bot] (98)
- hpparvi (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 3
-
Total downloads:
- pypi 750 last-month
-
Total dependent packages: 4
(may contain duplicates) -
Total dependent repositories: 5
(may contain duplicates) - Total versions: 101
- Total maintainers: 1
proxy.golang.org: github.com/hpparvi/pytransit
- Documentation: https://pkg.go.dev/github.com/hpparvi/pytransit#section-documentation
- License: gpl-2.0
-
Latest release: v2.6.15+incompatible
published 7 months ago
Rankings
proxy.golang.org: github.com/hpparvi/PyTransit
- Documentation: https://pkg.go.dev/github.com/hpparvi/PyTransit#section-documentation
- License: gpl-2.0
-
Latest release: v2.6.15+incompatible
published 7 months ago
Rankings
pypi.org: pytransit
Fast and painless exoplanet transit light curve modelling.
- Documentation: https://pytransit.readthedocs.io/
- License: GPLv2
-
Latest release: 2.6.15
published 7 months ago
Rankings
Maintainers (1)
Dependencies
- arviz *
- astropy *
- celerite *
- corner *
- deprecated *
- emcee *
- ldtk *
- matplotlib *
- numba *
- numpy *
- pandas *
- pyopencl *
- pyrr *
- scipy *
- seaborn *
- semantic_version *
- setuptools *
- tables *
- tqdm *
- uncertainties *
- xarray *
- numpy *
