Skip to content

Commit

Permalink
Add WFC3 Notebook for MAST PSF Database API (#308)
Browse files Browse the repository at this point in the history
* Add MAST API for WFC3 PSF notebook

* Update documentation with MAST API for WFC3 PSF

* Fix PEP8 standards

* Fix PEP8 in module

* Add function to safely extract tarfile

* Add data filter for tarfile extraction

* Remove members
  • Loading branch information
FDauphin authored Sep 26, 2024
1 parent 8489bc6 commit 03ec96f
Show file tree
Hide file tree
Showing 6 changed files with 989 additions and 14 deletions.
1 change: 1 addition & 0 deletions _toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,4 @@ parts:
- file: notebooks/WFC3/point_spread_function.md
sections:
- file: notebooks/WFC3/point_spread_function/hst_point_spread_function.ipynb
- file: notebooks/WFC3/mast_api_psf/download_psf_cutouts.ipynb
7 changes: 2 additions & 5 deletions notebooks/WFC3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ Photometry:
- [Calculating WFC3 Zeropoints with `stsynphot`](https://spacetelescope.github.io/hst_notebooks/notebooks/WFC3/zeropoints/zeropoints.html)
- [WFC3/UVIS Pixel Area Map Corrections for Subarrays](https://spacetelescope.github.io/hst_notebooks/notebooks/WFC3/uvis_pam_corrections/WFC3_UVIS_Pixel_Area_Map_Corrections_for_Subarrays.html)

Point Spread Function:
Point Spread Function (PSF):
- [HST WFC3 Point Spread Function Modeling](https://spacetelescope.github.io/hst_notebooks/notebooks/WFC3/point_spread_function/hst_point_spread_function.html)
- [Downloading WFC3 and WFPC2 PSF Cutouts from MAST](https://spacetelescope.github.io/hst_notebooks/notebooks/WFC3/mast_api_psf/download_psf_cutouts.html)

See the [WFC3 Instrument Handbook](https://hst-docs.stsci.edu/wfc3ihb),
[WFC3 Data Handbook](https://hst-docs.stsci.edu/wfc3dhb),
Expand All @@ -54,10 +55,6 @@ Space Telescope (HST) and the James Webb Space Telescope (JWST). To install, see
[stenv readthedocs](https://stenv.readthedocs.io/en/latest/) or
[stenv GitHub](https://github.com/spacetelescope/stenv).

`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](https://github.com/spacetelescope/hstcal), which
Expand Down
Loading

0 comments on commit 03ec96f

Please sign in to comment.