An open API service indexing awesome lists of open source software.

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

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"