Skip to content

Commit

Permalink
Fix WFC3 IR Scattered Light Notebooks (#319)
Browse files Browse the repository at this point in the history
* Fix WFC3 IR scattered light notebooks

* Update notebook citing info
  • Loading branch information
FDauphin authored Oct 21, 2024
1 parent 28840fb commit a4b9ca8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,13 @@
"metadata": {},
"outputs": [],
"source": [
"astrodrizzle.AstroDrizzle('icqtbb*flt.fits', output='f140w', preserve=False, build=False, context=False, skymethod='match', driz_separate=False, median=False, blot=False, driz_cr=False, final_bits='16')\n",
"astrodrizzle.AstroDrizzle('icqtbb*flt.fits', output='f140w', \n",
" mdriztab=True, preserve=False, \n",
" build=False, context=False, \n",
" skymethod='match', driz_separate=False, \n",
" median=False, blot=False, \n",
" driz_cr=False, final_bits='16',\n",
" clean=True)\n",
"# astrodrizzle.AstroDrizzle('icxt27*flt.fits', output='f105w', preserve=False, build=False, context=False, skymethod='match', driz_separate=False, median=False, blot=False, driz_cr=False, final_bits='16')"
]
},
Expand All @@ -602,9 +608,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"scrolled": true
},
"metadata": {},
"outputs": [],
"source": [
"with fits.open(\"f140w_drz_sci.fits\") as DRZ_image, fits.open('mastDownload/HST/icqtbb020/icqtbb020_drz.fits') as Orig_DRZ:\n",
Expand Down Expand Up @@ -679,7 +683,7 @@
"* [Citing the WFC3 Instrument Handbook](https://hst-docs.stsci.edu/wfc3ihb#:~:text=Citation,14.0%E2%80%9D%20(Baltimore%3A%20STScI))\n",
"* [Instrument Science Report WFC3 2021-01](https://www.stsci.edu/files/live/sites/www/files/home/hst/instrumentation/wfc3/documentation/instrument-science-reports-isrs/_documents/2021/2021-01.pdf)\n",
"* Citing this notebook:\n",
" Please cite the primary author and year, and hyperlink the notebook or WFC3 Library\n",
" Please cite the primary author and year, and hyperlink the notebook or HST/WFC3 Notebooks\n",
"***"
]
},
Expand Down Expand Up @@ -708,7 +712,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.4"
"version": "3.11.10"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,8 @@
"source": [
"astrodrizzle.AstroDrizzle('*flt.fits', output='f140w', \n",
" mdriztab=True, preserve=False, \n",
" build=False, context=False)"
" build=False, context=False,\n",
" clean=True)"
]
},
{
Expand All @@ -946,7 +947,7 @@
"metadata": {},
"outputs": [],
"source": [
"DRZ_image = fits.getdata(\"f140w_drz.fits\")\n",
"DRZ_image = fits.getdata(\"f140w_drz_sci.fits\")\n",
"Orig_DRZ = fits.getdata('mastDownload/HST/icqtbb020/icqtbb020_drz.fits')\n",
"\n",
"fig = plt.figure(figsize=(20, 10))\n",
Expand Down Expand Up @@ -1020,7 +1021,7 @@
"* [Citing the WFC3 Instrument Handbook](https://hst-docs.stsci.edu/wfc3ihb#:~:text=Citation,14.0%E2%80%9D%20(Baltimore%3A%20STScI))\n",
"* [Instrument Science Report WFC3 2021-01](https://www.stsci.edu/files/live/sites/www/files/home/hst/instrumentation/wfc3/documentation/instrument-science-reports-isrs/_documents/2021/2021-01.pdf)\n",
"* Citing this notebook:\n",
" Please cite the primary author and year, and hyperlink the notebook or WFC3 Library\n",
" Please cite the primary author and year, and hyperlink the notebook or HST/WFC3 Notebooks\n",
"***"
]
},
Expand Down Expand Up @@ -1049,7 +1050,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.4"
"version": "3.11.10"
}
},
"nbformat": 4,
Expand Down

0 comments on commit a4b9ca8

Please sign in to comment.