Skip to content

Commit

Permalink
Adding new STIS notebook Low_Count_Uncertainties.ipynb (#288)
Browse files Browse the repository at this point in the history
* Added STIS notebook Low_Count_Uncertainties.ipynb, requirements.txt, and pre-requirements.sh

* PEP 8 Fixes

* Updating STIS README and _toc.yml to include low_count_uncertainties notebook

* Update pre-requirements.sh to test hstcal

* Update requirements.txt

* path fixes, print statements fixes, and adding helper functions

* pep 8 fixes

* pep 8 fixes

* pep 8 fixes

* path error fix

* path error fix

* path error fix

* path error fix

* Correct variable interpolation for raw_file in CRDS bestrefs command

---------

Co-authored-by: Hatice Karatay <[email protected]>
  • Loading branch information
Jackie-Brown and haticekaratay authored Oct 22, 2024
1 parent a4b9ca8 commit 45e4ae4
Show file tree
Hide file tree
Showing 5 changed files with 975 additions and 0 deletions.
1 change: 1 addition & 0 deletions _toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ parts:
- file: notebooks/STIS/target_acquisition/target_acquisition.ipynb
- file: notebooks/STIS/view_data/view_data.ipynb
- file: notebooks/STIS/extraction/1D_Extraction.ipynb
- file: notebooks/STIS/low_count_uncertainties/Low_Count_Uncertainties.ipynb
- caption: WFC3
chapters:
- file: notebooks/WFC3/README.md
Expand Down
2 changes: 2 additions & 0 deletions notebooks/STIS/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ An introductory Jupyter Notebook showing how to create a custom CCD dark referen
An introductory Jupyter Notebook that shows how to visualize and obtain information about a target acquisition. It provides examples for a successful acquisition and several typical failure cases.
### Correcting for Missing Wavecals with Cross-Correlation (cross-correlation)
A complementary Jupyter Notebook to the Acquisition Notebook, that shows how to find and correct the zero point spectral shift using cross-correlation.
### Low Count Uncertainties in STIS (low_count_uncertainties)
A Jupyter Notebook exploring how uncertainties are calculated in the STIS pipeline. This also shows how certain approximations break down in the low flux regime (e.g., dim FUV continua), and demonstrates how users can calculate more robust uncertainties when dealing with low flux data. Lastly, this explores a known bug in calculation of uncertainties when using INTTAG to split exposures into sub-exposures in TIME-TAG files.


Each folder has a HTML file that can be opened in a browser after cloning this repository. The HTML file is identical to the notebook, except they contain output plots and tables.
Expand Down
Loading

0 comments on commit 45e4ae4

Please sign in to comment.