Skip to content

Commit

Permalink
Add WFC3 notebook 'TVB_flattenramp_notebook.ipynb' (#111)
Browse files Browse the repository at this point in the history
* updated _toc.yml and _config.yml files

* created new notebook-level requirements.txt file.

* TVB_flattenramp_notebook.ipynb: cleared notebook outputs.

* created new notebook-level requirements.txt file.

* Create pre-requirements.sh for hstcal

* Update requirements.txt

update requirements.txt with different version numbers so the notebook works. Also adds crds.

* Update pre-requirements.sh

add version number for hstcal (2.7.4)

* Update TVB_flattenramp_notebook.ipynb

* pep-8 fixes to notebook

* pep8 fix attempt + added commented lines

* edits to notebook +pep8

* attempting to fix pep-8 error in cell 10 of notebook

* Fix  code style and use context manager

* Fix remaining code style

* Refactor file path handling for improved clarity

---------

Co-authored-by: kyhuynh108 <107146288+kyhuynh108@users.noreply.github.com>
Co-authored-by: Hatice Karatay <haticekaraty@gmail.com>
  • Loading branch information
3 people authored Jan 7, 2024
1 parent bcce6c4 commit 14ec9f5
Show file tree
Hide file tree
Showing 5 changed files with 176 additions and 160 deletions.
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ exclude_patterns: [notebooks/DrizzlePac/align_mosaics/align_mosaics.ipynb,
notebooks/WFC3/ir_ima_visualization/IR_IMA_Visualization_with_an_Example_of_Time_Variable_Background.ipynb,
notebooks/WFC3/ir_scattered_light_calwf3_corrections/Correcting_for_Scattered_Light_in_IR_Exposures_Using_calwf3_to_Mask_Bad_Reads.ipynb,
notebooks/WFC3/ir_scattered_light_manual_corrections/Correcting_for_Scattered_Light_in_IR_Exposures_by_Manually_Subtracting_Bad_Reads.ipynb,
notebooks/WFC3/photometry_examples/phot_examples.ipynb,
notebooks/WFC3/tvb_flattenramp/TVB_flattenramp_notebook.ipynb,
notebooks/WFC3/uvis_time_dependent_photometry/uvis_timedep_phot.ipynb,
notebooks/WFC3/zeropoints/zeropoints.ipynb]
2 changes: 1 addition & 1 deletion _toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ parts:
# - file: notebooks/WFC3/ir_scattered_light_calwf3_corrections/Correcting_for_Scattered_Light_in_IR_Exposures_Using_calwf3_to_Mask_Bad_Reads.ipynb
# - file: notebooks/WFC3/ir_scattered_light_manual_corrections/Correcting_for_Scattered_Light_in_IR_Exposures_by_Manually_Subtracting_Bad_Reads.ipynb
- file: notebooks/WFC3/persistence/wfc3_ir_persistence.ipynb
- file: notebooks/WFC3/tvb_flattenramp/TVB_flattenramp_notebook.ipynb
- file: notebooks/WFC3/photometry_examples/phot_examples.ipynb
# - file: notebooks/WFC3/tvb_flattenramp/TVB_flattenramp_notebook.ipynb
- file: notebooks/WFC3/uvis_pam_corrections/WFC3_UVIS_Pixel_Area_Map_Corrections_for_Subarrays.ipynb
# - file: notebooks/WFC3/uvis_time_dependent_photometry/uvis_timedep_phot.ipynb
# - file: notebooks/WFC3/zeropoints/zeropoints.ipynb
Loading

0 comments on commit 14ec9f5

Please sign in to comment.