The purpose of this text is to walk through image reduction and photometry using Python, especially Astropy and its affiliated packages. It assumes some basic familiarity with astronomical images and with Python. The inspiration for this work is a pair of guides written for IRAF, “A User’s Guide to CCD Reductions with IRAF” (Massey 1997) and “A User’s Guide to Stellar CCD Photometry with IRAF” (Massey and Davis 1992).
The focus is on optical/IR images, not spectra.
Made possible by the Astropy Project and ScienceBetter Consulting through financial support from the Community Software Initiative at the Space Telescope Science Institute.
conda install -c astropy ccdproc photutils ipywidgets matplotlib
The list of the data files, and their approximate sizes, is below. You can either download them one by one, or use the download helper included with these notebooks.
Use this in a terminal to download the data
$ python download_data.py
Use this in a notebook cell to download the data
List of data files
- Combination of 100 bias images (26MB) (DOI: https://doi.org/10.5281/zenodo.3320113)
- Single dark frame, exposure time 1,000 seconds (11MB) (DOI: https://doi.org/10.5281/zenodo.3312535)
- Combination of several dark frames, each 1,000 exposure time (52MB) (DOI: https://doi.org/10.5281/zenodo.2634177)
- Combination of several dark frames, each 300 sec (7MB) (DOI: https://doi.org/10.5281/zenodo.3332818)
- “Example 1” in the reduction notebooks: Several images from the Palomar Large Format Camera, Chip 0 (162MB) (DOI: https://doi.org/10.5281/zenodo.3254683)
- “Example 2” in the reduction notebooks: Several images from an Andor Aspen CG16M (483MB) (DOI: https://doi.org/10.5281/zenodo.3245296)