WFC3 Notebooks

WFC3 Notebooks#

WFC3 Notebooks is the primary repository for analyzing data from the Wide Field Camera 3 on the Hubble Space Telescope. The Jupyter notebooks include tools for general data analysis, WFC3/IR time variable background (TVB), photometry, and point spread function (PSF) modeling. This repository contains the complementary notebooks mentioned in the WFC3 Data Handbook. These notebooks include:

General Tools:

WFC3/IR Time Variable Background (TVB):

Photometry:

Point Spread Function:

See the WFC3 Instrument Handbook, WFC3 Data Handbook, wfc3tools, and WFC3 Software Tools for more information on instrumentation, data, calibration, and software.

Installation#

It is recommended to clone the entire repository. To do so, run the following command in terminal:

git clone https://github.com/spacetelescope/hst_notebooks

stenv is the preferred base virtual environment for running WFC3 Noteboks since it contains libraries necessary for processing and analyzing data from the Hubble Space Telescope (HST) and the James Webb Space Telescope (JWST). To install, see stenv readthedocs or stenv GitHub.

hst_notebooks/notebooks_env is the default virtual environment for HST Notebooks, which contains the same scientific computing libraries in stenv, but not the HST and JWST libraries. This environment can also be used as a base, but is not recommended.

In addition, each notebook contains a requirements.txt file that needs to be installed before running the notebooks. Some notebooks contain a pre-requirements.sh file, usually to install HSTCAL, which is the calibration software for HST. Here is a common set of commands to run before executing the notebooks (assuming your virtual environment is activated):

bash pre-requirements.sh
pip install -r requirements.txt
pip install notebook

With the environment activated and additional libraries installed based on the individual requirement files, you will be able to complete the notebooks.

Contributing#

New contributions and feedback are very welcomed! Please open a new issue or new pull request for bugs, feedback, or new features you would like to see. If there is an issue you would like to work on, please leave a comment and we will be happy to assist. Questions can also be sent through the HST Help Desk.

WFC3 Notebooks follows the Astropy Code of Conduct and strives to provide a welcoming community to all of our users and contributors.

Want more information about how to make a contribution? Take a look at the the astropy contributing and developer documentation.

License#

WFC3 Notebooks is licensed under a BSD 3-Clause License (see the LICENSE.txt file).