This repository contains Jupyter notebooks to demonstrate how to calibrate and analyze data from the Hubble Space Telescope (HST) Advanced Camera for Surveys (ACS). Users are advised to visit the ACS website, Instrument Handbook, and Data Handbook for more information about the the current status of ACS, instrument specifications, and data analysis.
Users who need help transitioning from IRAF/PyRAF to Python should see the stak-notebooks repository.
If you have questions about HST data analysis, calibration software, instrument capabilities, and/or the methods discussed in this repository, please visit the HST Help Desk. Through the help desk portal, you can explore the HST Knowledge Base and request additional help from experts.
To download the notebooks in this repository, simply open a terminal, go to the directory where you would like the notebooks to be, and type
git clone https://github.com/spacetelescope/acs-notebook.git
which will create a new acs-notebook/ directory containing the contents of this repository.
Warning: Before running these examples, you must install or update to the latest version of AstroConda. Additionally, astroquery is not currently included in the AstroConda distribution and will need to be installed seperately using either conda
or pip
.
Jupyter Notebooks allow code to be packaged with formatted text to create illustrative examples. Users who are unfamiliar with Jupyter Notebooks should also see the short guide for how to use these tools.
- acs_reduction.py: This notebook walks a user through an example of how to: 1) download data from MAST using
astroquery
, 2) update calibration information in the FITS primary headers, 3) calibration ACS observations usingcalacs
, 4) align images to a common WCS, and 5) combine images usingAstroDrizzle
.
-
acs_subarrays.ipynb: Instructions for how to use the
acs_destripe_plus
code to calibrate, de-stripe, and correct ACS subarray observations for charge transfer efficiency (CTE). Also included are instructions for updating theOSCNTAB
reference file to subtract the bias level from the prescan columns in user-defined subarray observations. -
acs_zeropoints.ipynb: A description of the ACS photometric systems, header keywords, and topics related to photometrically calibrating ACS data.
-
pixel_area_maps.ipynb: How to use Python to create pixel area maps (PAMs) to account for the effects of geometric distortion in distorted images. This enables users to perform photometry on distorted images if desired.
If you have feedback concerning our documentation or examples presented here on GitHub, please open an issue. For feedback concerning content exclusively from the ACS website, Instrument Handbook, or Data Handbook, or for questions about ACS in general, please contact the ACS Branch at STScI via the Hubble Space Telescope Help Desk portal.