Skip to content

Commit bf78249

Browse files
authored
Merge pull request spacetelescope#433 from spacetelescope/bkuhn_wfc3_edits
Adding banner to WFC3 notebooks
2 parents 57103d3 + 5c87fa8 commit bf78249

18 files changed

Lines changed: 91 additions & 23 deletions

File tree

notebooks/WFC3/calwf3_recalibration/calwf3_recal_tvb.ipynb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
"metadata": {},
66
"source": [
77
"<a id=\"title\"></a>\n",
8+
"\n",
9+
"![STScI Logo](../../../_static/stsci_header.png)\n",
10+
"\n",
811
"# Manual Recalibration with calwf3: Turning off the IR Linear Ramp Fit\n",
9-
"<hr>\n",
1012
"\n",
1113
"## Learning Goals\n",
1214
"\n",
@@ -763,7 +765,7 @@
763765
"name": "python",
764766
"nbconvert_exporter": "python",
765767
"pygments_lexer": "ipython3",
766-
"version": "3.12.5"
768+
"version": "3.11.0"
767769
}
768770
},
769771
"nbformat": 4,

notebooks/WFC3/calwf3_v1.0_cte/calwf3_with_v1.0_PCTE.ipynb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
"source": [
77
"<a id=\"top\"></a>\n",
88
"\n",
9+
"![STScI Logo](../../../_static/stsci_header.png)\n",
10+
"\n",
911
"# Processing WFC3/UVIS Data with `calwf3` Using the v1.0 CTE-Correction \n",
1012
"<hr>\n",
1113
"\n",

notebooks/WFC3/exception_report/wfc3_exception_report.ipynb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@
88
}
99
},
1010
"source": [
11+
"![STScI Logo](../../../_static/stsci_header.png)\n",
12+
"\n",
1113
"<a id=\"top\"></a>\n",
14+
"\n",
1215
"# Exception Report Checklist - WFC3\n",
1316
"<hr>\n",
17+
"\n",
1418
"## Learning Goals\n",
1519
"In this notebook, you will walk through the procedure for addressing a HST/WFC3 exception report and <br> \n",
1620
"determining if a HOPR and/or Help Desk Ticket should be filed. \n",
@@ -715,7 +719,7 @@
715719
"name": "python",
716720
"nbconvert_exporter": "python",
717721
"pygments_lexer": "ipython3",
718-
"version": "3.12.7"
722+
"version": "3.11.0"
719723
}
720724
},
721725
"nbformat": 4,

notebooks/WFC3/filter_transformations/filter_transformations.ipynb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@
66
"metadata": {},
77
"source": [
88
"<a id=\"title\"></a>\n",
9+
"\n",
10+
"![STScI Logo](../../../_static/stsci_header.png)\n",
11+
"\n",
912
"# WFC3/UVIS Filter Transformations with stsynphot \n",
1013
"<hr>\n",
14+
"\n",
1115
"## Learning Goals\n",
1216
"\n",
1317
"By the end of this tutorial, you will:\n",
@@ -560,7 +564,7 @@
560564
"name": "python",
561565
"nbconvert_exporter": "python",
562566
"pygments_lexer": "ipython3",
563-
"version": "3.11.10"
567+
"version": "3.11.0"
564568
}
565569
},
566570
"nbformat": 4,

notebooks/WFC3/flux_conversion_tool/flux_conversion_tool.ipynb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@
66
"metadata": {},
77
"source": [
88
"<a id=\"title\"></a>\n",
9+
"\n",
10+
"![STScI Logo](../../../_static/stsci_header.png)\n",
11+
"\n",
912
"# Flux Unit Conversions with synphot and stsynphot \n",
1013
"<hr>\n",
14+
"\n",
1115
"## Learning Goals\n",
1216
"By the end of this tutorial, you will:\n",
1317
"\n",
@@ -828,7 +832,7 @@
828832
"name": "python",
829833
"nbconvert_exporter": "python",
830834
"pygments_lexer": "ipython3",
831-
"version": "3.12.6"
835+
"version": "3.11.0"
832836
}
833837
},
834838
"nbformat": 4,

notebooks/WFC3/image_displayer_analyzer/wfc3_image_displayer_analyzer.ipynb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@
55
"metadata": {},
66
"source": [
77
"<a id=\"top\"></a>\n",
8+
"\n",
9+
"![STScI Logo](../../../_static/stsci_header.png)\n",
10+
"\n",
811
"# WFC3 Image Displayer & Analyzer \n",
912
"<hr>\n",
13+
"\n",
1014
"## Learning Goals\n",
1115
"This notebook provides a method to quickly display images from the Hubble Space Telescope’s Wide Field <br>\n",
1216
"Camera 3 (WFC3) instrument. This tool also allows the user to derive statistics by row or column in the image. <br>\n",
@@ -541,7 +545,7 @@
541545
"name": "python",
542546
"nbconvert_exporter": "python",
543547
"pygments_lexer": "ipython3",
544-
"version": "3.11.5"
548+
"version": "3.11.0"
545549
}
546550
},
547551
"nbformat": 4,

notebooks/WFC3/ir_ima_visualization/IR_IMA_Visualization_with_an_Example_of_Time_Variable_Background.ipynb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
},
1010
"source": [
1111
"<a id=\"top\"></a>\n",
12+
"\n",
13+
"![STScI Logo](../../../_static/stsci_header.png)\n",
14+
"\n",
1215
"# WFC3/IR IMA Visualization Tools with An Example of Time Variable Background\n",
1316
"\n",
1417
"\n",
@@ -788,7 +791,7 @@
788791
"name": "python",
789792
"nbconvert_exporter": "python",
790793
"pygments_lexer": "ipython3",
791-
"version": "3.11.6"
794+
"version": "3.11.0"
792795
}
793796
},
794797
"nbformat": 4,

notebooks/WFC3/ir_scattered_light_calwf3_corrections/Correcting_for_Scattered_Light_in_IR_Exposures_Using_calwf3_to_Mask_Bad_Reads.ipynb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
"metadata": {},
66
"source": [
77
"<a id=\"top\"></a>\n",
8+
"\n",
9+
"![STScI Logo](../../../_static/stsci_header.png)\n",
10+
"\n",
811
"# Correcting for Scattered Light in WFC3/IR Exposures: Using `calwf3` to Mask Bad Reads\n",
912
"\n",
1013
"\n",
@@ -707,7 +710,7 @@
707710
"name": "python",
708711
"nbconvert_exporter": "python",
709712
"pygments_lexer": "ipython3",
710-
"version": "3.12.5"
713+
"version": "3.11.0"
711714
}
712715
},
713716
"nbformat": 4,

notebooks/WFC3/ir_scattered_light_manual_corrections/Correcting_for_Scattered_Light_in_IR_Exposures_by_Manually_Subtracting_Bad_Reads.ipynb

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
"metadata": {},
66
"source": [
77
"<a id=\"top\"></a>\n",
8+
"\n",
9+
"![STScI Logo](../../../_static/stsci_header.png)\n",
10+
"\n",
811
"# Correcting for Scattered Light in WFC3/IR Exposures: Manually Subtracting Bad Reads\n",
912
"\n",
1013
"\n",
@@ -147,6 +150,7 @@
147150
"Observations.download_products(data_list['obsid'], \n",
148151
" project='CALWF3', \n",
149152
" obs_id=file_id, \n",
153+
" cache=False,\n",
150154
" mrp_only=False, \n",
151155
" productSubGroupDescription=['RAW', 'IMA', 'FLT'])"
152156
]
@@ -329,13 +333,15 @@
329333
{
330334
"cell_type": "code",
331335
"execution_count": null,
332-
"metadata": {},
336+
"metadata": {
337+
"scrolled": true
338+
},
333339
"outputs": [],
334340
"source": [
335341
"raw_filepath = f'{file_id}_raw.fits'\n",
336342
"\n",
337343
"print(f\"Querying CRDS for the reference file associated with {raw_filepath}.\")\n",
338-
"command_line_input = 'crds bestrefs --files {:} --sync-references=1 --update-bestrefs'.format(raw_file)\n",
344+
"command_line_input = 'crds bestrefs --files {:} --sync-references=1 --update-bestrefs'.format(raw_filepath)\n",
339345
"os.system(command_line_input)"
340346
]
341347
},
@@ -877,7 +883,7 @@
877883
"source": [
878884
"data_list = Observations.query_criteria(obs_id=OBS_ID)\n",
879885
"\n",
880-
"Observations.download_products(data_list['obsid'], project='CALWF3', \n",
886+
"Observations.download_products(data_list['obsid'], project='CALWF3', cache=False,\n",
881887
" mrp_only=False, productSubGroupDescription=['FLT', 'DRZ'])"
882888
]
883889
},
@@ -1045,7 +1051,7 @@
10451051
"name": "python",
10461052
"nbconvert_exporter": "python",
10471053
"pygments_lexer": "ipython3",
1048-
"version": "3.12.5"
1054+
"version": "3.11.0"
10491055
}
10501056
},
10511057
"nbformat": 4,

notebooks/WFC3/mast_api_psf/download_psf_cutouts.ipynb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,14 @@
88
}
99
},
1010
"source": [
11+
"![STScI Logo](../../../_static/stsci_header.png)\n",
12+
"\n",
1113
"<a id=\"top\"></a>\n",
14+
"\n",
1215
"# Downloading WFC3 and WFPC2 PSF Cutouts from MAST\n",
1316
"\n",
1417
"<hr>\n",
18+
"\n",
1519
"## Learning Goals\n",
1620
"This notebook demonstrates how to download PSF cutouts (i.e. \"realizations\" of the PSF) from the WFC3 and WFPC2 PSF Databases on the MAST Portal using the MAST API. By the end of this tutorial, you will:\n",
1721
"\n",
@@ -539,7 +543,7 @@
539543
"name": "python",
540544
"nbconvert_exporter": "python",
541545
"pygments_lexer": "ipython3",
542-
"version": "3.11.8"
546+
"version": "3.11.0"
543547
}
544548
},
545549
"nbformat": 4,

0 commit comments

Comments
 (0)