https://github.com/simonrw/modelgeneration
Generates synthetic transit lightcurves
https://github.com/simonrw/modelgeneration
Last synced: over 1 year ago
JSON representation
Generates synthetic transit lightcurves
- Host: GitHub
- URL: https://github.com/simonrw/modelgeneration
- Owner: simonrw
- Created: 2011-11-04T12:02:00.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2016-10-24T15:57:00.000Z (over 9 years ago)
- Last Synced: 2025-02-06T08:45:19.197Z (over 1 year ago)
- Language: C++
- Homepage: http://mindriot101.github.com/ModelGeneration
- Size: 104 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.mkd
Awesome Lists containing this project
README
#Transit model generation
###S. R. Walker
##Introduction
This code uses the small object approximation from [Mandel and Agol][1] to generate false lightcurves. The user must supply a transit model (documented in Model.h) with the correct parameters, and time information in Julian days (Days since January 1, 4713 BC Greenwich noon - [wiki][2]). The model must include planetary, system and stellar parameters.
[1]: http://adsabs.harvard.edu/abs/2002ApJ...580L.171M "ADS"
[2]: http://en.wikipedia.org/wiki/Julian_day "Julian day"
## Usage
The software is designed to be added as a subdirectory to a [cmake][3] project. Four steps need to be taken:
* add the directory as a `submodule`,
* add the `MODELGEN_INCLUDE_DIR` as an include,
* add the `MODELGEN_LIBRARIES` as a link library,
* add `MODELTARGET` as a dependency to any other code.
[3]: http://www.cmake.org "CMake"