Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simonrw/pytransits
Python exoplanet synthesis
https://github.com/simonrw/pytransits
Last synced: 19 days ago
JSON representation
Python exoplanet synthesis
- Host: GitHub
- URL: https://github.com/simonrw/pytransits
- Owner: simonrw
- Created: 2012-04-06T14:49:20.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-10-08T14:15:20.000Z (about 10 years ago)
- Last Synced: 2024-10-11T01:31:20.154Z (about 1 month ago)
- Language: Python
- Homepage:
- Size: 387 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.mkd
Awesome Lists containing this project
README
# PyTransits
A python transit synthesis program for generating synthetic lightcurves for transiting exoplanets.
## Method
This code uses the Mandel & Agol model of transiting exoplanets. The limb darkening coefficients must be calculated separately and the following parameters must be given:
* Orbital period (period)
* Orbital epoch (time of mid transit, epoch)
* Orbital separation (a)
* Orbital inclination (i)
* Planetary radius (rp)
* Stellar mass (ms)
* Stellar radius (rs)
* Stellar temperature (teff)
* c1
* c2
* c3
* c4In brackets are the computational parameters.
A `PyModel` object is created with the above parameters. All must be present, otherwise the generator won't work.
The time values are specified in JD and the model parameter is explained above.
The return is the model flux, which is normalised so that the out of transit data is at a value of 1.