Differential photometry for humans (and astronomers)
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
Doc Add fix for error "cannot import name 'make_admonition'" Mar 19, 2018
Misc Add Michael Hlabathe Mar 19, 2018
ci Fix Travis setup script Jul 1, 2016
juicer Remove 'periods' option from the [view] section Apr 1, 2015
sextractor Rename directory astromatic/ to sextractor/ Nov 12, 2013
test Add MethodsQueueTest.shortDescription() Feb 13, 2019
.gitignore Ignore IRAF user parameter directory Feb 5, 2013
.travis.yml Notify by email only when the build status changes Jul 1, 2016
README.rst Add Zenodo badge Nov 8, 2017
__init__.py Add __license__ Mar 21, 2014
annuli.py Avoid cast to string of the default value of --uik (None) Aug 5, 2014
astromatic.py Use a bit mask to check the value of the third bit Dec 7, 2017
astrometry.py Make the examples in the help text of -o clearer to understand Mar 17, 2015
check_versions.py Use JSON to serialize data — say bye to XML Aug 4, 2014
customparser.py Fix regular expression used in additional_options_callback() Mar 17, 2015
database.py Fix bug in LEMONdB._add_cmp_star() — standard deviation and weight May 7, 2015
defaults.py Move CONFIG_FILENAME to setup.py Oct 7, 2014
diffphot.py Set the default value of --worst-fraction to 0.10 Apr 7, 2015
fitsimage.py Detect non-standard FITS files also with PyFITS >= 3.3 May 25, 2015
git.py Issue warning only if the GitHub commit is more recent Aug 12, 2014
import.py Avoid unnecessary duplicate code — call methods.owner_writable() Mar 19, 2015
json_parse.py Remove blank line Aug 4, 2014
keywords.py Update description of the optparse.OptionGroup "FITS Keywords" Apr 1, 2015
lemon Remove 'periods' command Apr 1, 2015
lemon-completion.sh Add Bash completion for --cbox May 12, 2015
methods.py Make 'size' SharedCounter private Feb 13, 2019
mining.py Remove execute permissions from LEMON modules Jan 3, 2013
mosaic.py Call mosaic() with BITPIX = -64 Jun 17, 2015
passband.py Add support for Cousins filters written as 'Cousin' or 'Cous' Jun 27, 2016
photometry.py Include in the documentation a reference to the zero point (25) used … Jun 10, 2015
pre-requirements.txt Add montage-wrapper Mar 14, 2014
qphot.py Update docstring of run() May 12, 2015
requirements.txt Use PyFITS >= 3.2 May 25, 2015
run_tests.py Exit with non-zero exit code when unit tests fail May 16, 2014
seeing.py Avoid unnecessary copy of the temporary FITS files May 30, 2014
setup.py Move CONFIG_PATH to setup.py Oct 7, 2014
snr.py Delete trailing whitespace May 21, 2015
style.py Factor out the creation of the OptionParser instances Feb 21, 2013
version.py Bump version to 0.3 Jun 8, 2015



LEMON is a differential-photometry pipeline, written in Python, that determines the changes in the brightness of astronomical objects over time and compiles their measurements into light curves. The aim of this program is to make it possible to completely reduce thousands of FITS images of time series in a matter of only a few hours, requiring minimal user interaction.

For example, to get the light curve of a transit of HAT-P-16b:

$ lemon astrometry data/*.fits HAT-P-16/
$ lemon mosaic HAT-P-16/*.fits HAT-P-16-mosaic.fits
$ lemon photometry HAT-P-16-mosaic.fits HAT-P-16/*.fits phot.LEMONdB
$ lemon diffphot phot.LEMONdB curves.LEMONdB

The above commands produce, among many others, the following plot:




Acknowledging us

If you use LEMON, please consider citing the package via its Zenodo record.

Project Status