Skip to content

Commit 4ed2210

Browse files
authored
Merge pull request spacetelescope#479 from alyssaguzman/toc_add
ACS updates
2 parents d3212ab + ee0ee56 commit 4ed2210

5 files changed

Lines changed: 152 additions & 140 deletions

File tree

_toc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ parts:
1919
- file: notebooks/ACS/hst_orbits_ephem/hst_orbits_ephem.ipynb
2020
- file: notebooks/ACS/acs_etc_cte/acs_etc_cte.ipynb
2121
- file: notebooks/ACS/acs_grism_extraction_fullframe/slitlessutils_ACSWFC_fullframe_extraction.ipynb
22+
- file: notebooks/ACS/acs_grism_extraction_subarray/slitlessutils_ACSWFC_subarray_extraction.ipynb
2223
- caption: COS
2324
chapters:
2425
- file: notebooks/COS/README.md

notebooks/ACS/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ Before running these examples, you **must** follow the general instructions on c
5050

5151
* [**acs_grism_extraction_fullframe**](https://spacetelescope.github.io/hst_notebooks/notebooks/ACS/acs_grism_extraction_fullframe/slitlessutils_ACSWFC_fullframe_extraction.html): This notebook contains a step-by-step guide for performing spectral extractions with `Slitlessutils` for G800L full frame data from ACS/WFC.
5252

53+
* [**acs_grism_extraction_subarray**](https://spacetelescope.github.io/hst_notebooks/notebooks/ACS/acs_grism_extraction_subarray/slitlessutils_ACSWFC_subarray_extraction.html): This notebook contains a step-by-step guide for performing spectral extractions with `Slitlessutils` for G800L subarray data from ACS/WFC.
54+
5355
## Contributing
5456

5557
New contributions and feedback are very welcomed! Please open a new [issue](https://github.com/spacetelescope/hst_notebooks/issues) or new pull request for bugs, feedback, or new features you would like to see. If there is an issue you would like to work on, please leave a comment and we will be happy to assist. Questions can also be sent to the ACS team through the [HST Help Desk](https://stsci.service-now.com/hst).

notebooks/ACS/acs_etc_cte/acs_etc_cte.ipynb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,15 @@
716716
"cell_type": "markdown",
717717
"metadata": {},
718718
"source": [
719-
"[Top of Page](#top)\n",
719+
"### For more help:\n",
720+
"\n",
721+
"More details may be found on the [ACS website](http://www.stsci.edu/hst/instrumentation/acs) and in the [ACS Instrument](https://hst-docs.stsci.edu/display/ACSIHB) and [Data Handbooks](https://hst-docs.stsci.edu/acsdhb).\n",
722+
"\n",
723+
"Please visit the [HST Help Desk](https://stsci.service-now.com/hst). Through the help desk portal, you can explore the HST Knowledge Base and request additional help from experts.\n",
724+
"\n",
725+
"<hr>\n",
726+
"\n",
727+
"[Top of Page](#title_ID)\n",
720728
"<img style=\"float: right;\" src=\"https://raw.githubusercontent.com/spacetelescope/hst_notebooks/main/assets/stsci_pri_combo_mark_horizonal_white_bkgd.png\" alt=\"Space Telescope Logo\" width=\"200px\"/> "
721729
]
722730
}

notebooks/ACS/acs_grism_extraction_fullframe/slitlessutils_ACSWFC_fullframe_extraction.ipynb

Lines changed: 70 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -111,75 +111,71 @@
111111
},
112112
{
113113
"cell_type": "markdown",
114-
"metadata": {
115-
"slideshow": {
116-
"slide_type": "slide"
117-
}
118-
},
114+
"metadata": {},
119115
"source": [
120116
"<a id=\"import\"></a>\n",
121117
"## 1.2 Imports \n",
122-
" \n",
118+
"\n",
123119
"For this notebook we import:\n",
124120
"\n",
125-
"<table style=\"margin-left: 0; margin-right: auto; border-collapse: collapse;\">\n",
126-
" <thead>\n",
127-
" <tr>\n",
128-
" <th style=\"text-align: left; padding: 6px;\">Package</th>\n",
129-
" <th style=\"text-align: left; padding: 6px;\">Purpose</th>\n",
130-
" </tr>\n",
131-
" </thead>\n",
132-
" <tbody>\n",
133-
" <tr>\n",
134-
" <td style=\"padding: 6px;\"><code>glob</code></td>\n",
135-
" <td style=\"padding: 6px;\">File handling</td>\n",
136-
" </tr>\n",
137-
" <tr>\n",
138-
" <td style=\"padding: 6px;\"><code>matplotlib.pyplot</code></td>\n",
139-
" <td style=\"padding: 6px;\">Displaying images and plotting spectrum</td>\n",
140-
" </tr>\n",
141-
" <tr>\n",
142-
" <td style=\"padding: 6px;\"><code>numpy</code></td>\n",
143-
" <td style=\"padding: 6px;\">Handling arrays</td>\n",
144-
" </tr>\n",
145-
" <tr>\n",
146-
" <td style=\"padding: 6px;\"><code>os</code></td>\n",
147-
" <td style=\"padding: 6px;\">System commands</td>\n",
148-
" </tr>\n",
149-
" <tr>\n",
150-
" <td style=\"padding: 6px;\"><code>shutil</code></td>\n",
151-
" <td style=\"padding: 6px;\">File and directory clean up</td>\n",
152-
" </tr>\n",
153-
" <tr>\n",
154-
" <td style=\"padding: 6px;\"><code>astropy.io.fits</code></td>\n",
155-
" <td style=\"padding: 6px;\">Reading and modifying/creating FITS files</td>\n",
156-
" </tr>\n",
157-
" <tr>\n",
158-
" <td style=\"padding: 6px;\"><code>astropy.visualization</code></td>\n",
159-
" <td style=\"padding: 6px;\">Various tools for display FITS images</td>\n",
160-
" </tr>\n",
161-
" <tr>\n",
162-
" <td style=\"padding: 6px;\"><code>astropy.wcs.WCS</code></td>\n",
163-
" <td style=\"padding: 6px;\">Handling WCS objects</td>\n",
164-
" </tr>\n",
165-
" <tr>\n",
166-
" <td style=\"padding: 6px;\"><code>astroquery.mast.Observations</code></td>\n",
167-
" <td style=\"padding: 6px;\">Downloading RAW and FLT data from MASTs</td>\n",
168-
" </tr>\n",
169-
" <tr>\n",
170-
" <td style=\"padding: 6px;\"><code>drizzlepac.astrodrizzle</code></td>\n",
171-
" <td style=\"padding: 6px;\">Creating a mosaic for the direct image filter</td>\n",
172-
" </tr>\n",
173-
" <tr>\n",
174-
" <td style=\"padding: 6px;\"><code>pyregions</code></td>\n",
175-
" <td style=\"padding: 6px;\">Overlaying DS9-formatted regions</td>\n",
176-
" </tr>\n",
177-
" <tr>\n",
178-
" <td style=\"padding: 6px;\"><code>slitlessutils</code></td>\n",
179-
" <td style=\"padding: 6px;\">Handling preprocessing and spectral extraction</td>\n",
180-
" </tr>\n",
181-
" </tbody>\n",
182-
"</table>\n"
121+
"<table style=\"margin-left: 0; margin-right: auto; border-collapse: collapse; border: 1px solid #ccc;\">\n",
122+
"<thead>\n",
123+
"<tr>\n",
124+
"<th style=\"text-align: left; padding: 6px; border: 1px solid #ccc;\">Package</th>\n",
125+
"<th style=\"text-align: left; padding: 6px; border: 1px solid #ccc;\">Purpose</th>\n",
126+
"</tr>\n",
127+
"</thead>\n",
128+
"<tbody>\n",
129+
"<tr>\n",
130+
"<td style=\"padding: 6px; border: 1px solid #ccc;\"><code>glob</code></td>\n",
131+
"<td style=\"padding: 6px; border: 1px solid #ccc;\">File handling</td>\n",
132+
"</tr>\n",
133+
"<tr>\n",
134+
"<td style=\"padding: 6px; border: 1px solid #ccc;\"><code>matplotlib.pyplot</code></td>\n",
135+
"<td style=\"padding: 6px; border: 1px solid #ccc;\">Displaying images and plotting spectrum</td>\n",
136+
"</tr>\n",
137+
"<tr>\n",
138+
"<td style=\"padding: 6px; border: 1px solid #ccc;\"><code>numpy</code></td>\n",
139+
"<td style=\"padding: 6px; border: 1px solid #ccc;\">Handling arrays</td>\n",
140+
"</tr>\n",
141+
"<tr>\n",
142+
"<td style=\"padding: 6px; border: 1px solid #ccc;\"><code>os</code></td>\n",
143+
"<td style=\"padding: 6px; border: 1px solid #ccc;\">System commands</td>\n",
144+
"</tr>\n",
145+
"<tr>\n",
146+
"<td style=\"padding: 6px; border: 1px solid #ccc;\"><code>shutil</code></td>\n",
147+
"<td style=\"padding: 6px; border: 1px solid #ccc;\">File and directory clean up</td>\n",
148+
"</tr>\n",
149+
"<tr>\n",
150+
"<td style=\"padding: 6px; border: 1px solid #ccc;\"><code>astropy.io.fits</code></td>\n",
151+
"<td style=\"padding: 6px; border: 1px solid #ccc;\">Reading and modifying/creating FITS files</td>\n",
152+
"</tr>\n",
153+
"<tr>\n",
154+
"<td style=\"padding: 6px; border: 1px solid #ccc;\"><code>astropy.visualization</code></td>\n",
155+
"<td style=\"padding: 6px; border: 1px solid #ccc;\">Various tools for display FITS images</td>\n",
156+
"</tr>\n",
157+
"<tr>\n",
158+
"<td style=\"padding: 6px; border: 1px solid #ccc;\"><code>astropy.wcs.WCS</code></td>\n",
159+
"<td style=\"padding: 6px; border: 1px solid #ccc;\">Handling WCS objects</td>\n",
160+
"</tr>\n",
161+
"<tr>\n",
162+
"<td style=\"padding: 6px; border: 1px solid #ccc;\"><code>astroquery.mast.Observations</code></td>\n",
163+
"<td style=\"padding: 6px; border: 1px solid #ccc;\">Downloading RAW and FLT data from MAST</td>\n",
164+
"</tr>\n",
165+
"<tr>\n",
166+
"<td style=\"padding: 6px; border: 1px solid #ccc;\"><code>drizzlepac.astrodrizzle</code></td>\n",
167+
"<td style=\"padding: 6px; border: 1px solid #ccc;\">Creating a mosaic for the direct image filter</td>\n",
168+
"</tr>\n",
169+
"<tr>\n",
170+
"<td style=\"padding: 6px; border: 1px solid #ccc;\"><code>pyregions</code></td>\n",
171+
"<td style=\"padding: 6px; border: 1px solid #ccc;\">Overlaying DS9-formatted regions</td>\n",
172+
"</tr>\n",
173+
"<tr>\n",
174+
"<td style=\"padding: 6px; border: 1px solid #ccc;\"><code>slitlessutils</code></td>\n",
175+
"<td style=\"padding: 6px; border: 1px solid #ccc;\">Handling preprocessing and spectral extraction</td>\n",
176+
"</tr>\n",
177+
"</tbody>\n",
178+
"</table>"
183179
]
184180
},
185181
{
@@ -1076,8 +1072,16 @@
10761072
"cell_type": "markdown",
10771073
"metadata": {},
10781074
"source": [
1079-
"[Top of Page](#top)\n",
1080-
"<img style=\"float: right;\" src=\"https://raw.githubusercontent.com/spacetelescope/hst_notebooks/main/assets/stsci_pri_combo_mark_horizonal_white_bkgd.png\" alt=\"Space Telescope Logo\" width=\"200px\\\"/>"
1075+
"### For more help:\n",
1076+
"\n",
1077+
"More details may be found on the [ACS website](http://www.stsci.edu/hst/instrumentation/acs) and in the [ACS Instrument](https://hst-docs.stsci.edu/display/ACSIHB) and [Data Handbooks](https://hst-docs.stsci.edu/acsdhb).\n",
1078+
"\n",
1079+
"Please visit the [HST Help Desk](https://stsci.service-now.com/hst). Through the help desk portal, you can explore the HST Knowledge Base and request additional help from experts.\n",
1080+
"\n",
1081+
"<hr>\n",
1082+
"\n",
1083+
"[Top of Page](#titleImageReduction)\n",
1084+
"<img style=\"float: right;\" src=\"https://raw.githubusercontent.com/spacetelescope/hst_notebooks/main/assets/stsci_pri_combo_mark_horizonal_white_bkgd.png\" alt=\"Space Telescope Logo\" width=\"200px\"/> "
10811085
]
10821086
}
10831087
],

notebooks/ACS/acs_grism_extraction_subarray/slitlessutils_ACSWFC_subarray_extraction.ipynb

Lines changed: 70 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -112,75 +112,71 @@
112112
},
113113
{
114114
"cell_type": "markdown",
115-
"metadata": {
116-
"slideshow": {
117-
"slide_type": "slide"
118-
}
119-
},
115+
"metadata": {},
120116
"source": [
121117
"<a id=\"import\"></a>\n",
122118
"## 1.2 Imports \n",
123-
" \n",
119+
"\n",
124120
"For this notebook we import:\n",
125121
"\n",
126-
"<table style=\"margin-left: 0; margin-right: auto; border-collapse: collapse;\">\n",
127-
" <thead>\n",
128-
" <tr>\n",
129-
" <th style=\"text-align: left; padding: 6px;\">Package</th>\n",
130-
" <th style=\"text-align: left; padding: 6px;\">Purpose</th>\n",
131-
" </tr>\n",
132-
" </thead>\n",
133-
" <tbody>\n",
134-
" <tr>\n",
135-
" <td style=\"padding: 6px;\"><code>glob</code></td>\n",
136-
" <td style=\"padding: 6px;\">File handling</td>\n",
137-
" </tr>\n",
138-
" <tr>\n",
139-
" <td style=\"padding: 6px;\"><code>matplotlib.pyplot</code></td>\n",
140-
" <td style=\"padding: 6px;\">Displaying images and plotting spectrum</td>\n",
141-
" </tr>\n",
142-
" <tr>\n",
143-
" <td style=\"padding: 6px;\"><code>numpy</code></td>\n",
144-
" <td style=\"padding: 6px;\">Handling arrays</td>\n",
145-
" </tr>\n",
146-
" <tr>\n",
147-
" <td style=\"padding: 6px;\"><code>os</code></td>\n",
148-
" <td style=\"padding: 6px;\">System commands</td>\n",
149-
" </tr>\n",
150-
" <tr>\n",
151-
" <td style=\"padding: 6px;\"><code>shutil</code></td>\n",
152-
" <td style=\"padding: 6px;\">File and directory clean up</td>\n",
153-
" </tr>\n",
154-
" <tr>\n",
155-
" <td style=\"padding: 6px;\"><code>astropy.io.fits</code></td>\n",
156-
" <td style=\"padding: 6px;\">Reading and modifying/creating FITS files</td>\n",
157-
" </tr>\n",
158-
" <tr>\n",
159-
" <td style=\"padding: 6px;\"><code>astropy.visualization</code></td>\n",
160-
" <td style=\"padding: 6px;\">Various tools for display FITS images</td>\n",
161-
" </tr>\n",
162-
" <tr>\n",
163-
" <td style=\"padding: 6px;\"><code>astropy.wcs.WCS</code></td>\n",
164-
" <td style=\"padding: 6px;\">Handling WCS objects</td>\n",
165-
" </tr>\n",
166-
" <tr>\n",
167-
" <td style=\"padding: 6px;\"><code>astroquery.mast.Observations</code></td>\n",
168-
" <td style=\"padding: 6px;\">Downloading FLT data from MAST</td>\n",
169-
" </tr>\n",
170-
" <tr>\n",
171-
" <td style=\"padding: 6px;\"><code>drizzlepac.astrodrizzle</code></td>\n",
172-
" <td style=\"padding: 6px;\">Creating a mosaic for the direct image filter</td>\n",
173-
" </tr>\n",
174-
" <tr>\n",
175-
" <td style=\"padding: 6px;\"><code>pyregions</code></td>\n",
176-
" <td style=\"padding: 6px;\">Overlaying DS9-formatted regions</td>\n",
177-
" </tr>\n",
178-
" <tr>\n",
179-
" <td style=\"padding: 6px;\"><code>slitlessutils</code></td>\n",
180-
" <td style=\"padding: 6px;\">Handling preprocessing and spectral extraction</td>\n",
181-
" </tr>\n",
182-
" </tbody>\n",
183-
"</table>\n"
122+
"<table style=\"margin-left: 0; margin-right: auto; border-collapse: collapse; border: 1px solid #ccc;\">\n",
123+
"<thead>\n",
124+
"<tr>\n",
125+
"<th style=\"text-align: left; padding: 6px; border: 1px solid #ccc;\">Package</th>\n",
126+
"<th style=\"text-align: left; padding: 6px; border: 1px solid #ccc;\">Purpose</th>\n",
127+
"</tr>\n",
128+
"</thead>\n",
129+
"<tbody>\n",
130+
"<tr>\n",
131+
"<td style=\"padding: 6px; border: 1px solid #ccc;\"><code>glob</code></td>\n",
132+
"<td style=\"padding: 6px; border: 1px solid #ccc;\">File handling</td>\n",
133+
"</tr>\n",
134+
"<tr>\n",
135+
"<td style=\"padding: 6px; border: 1px solid #ccc;\"><code>matplotlib.pyplot</code></td>\n",
136+
"<td style=\"padding: 6px; border: 1px solid #ccc;\">Displaying images and plotting spectrum</td>\n",
137+
"</tr>\n",
138+
"<tr>\n",
139+
"<td style=\"padding: 6px; border: 1px solid #ccc;\"><code>numpy</code></td>\n",
140+
"<td style=\"padding: 6px; border: 1px solid #ccc;\">Handling arrays</td>\n",
141+
"</tr>\n",
142+
"<tr>\n",
143+
"<td style=\"padding: 6px; border: 1px solid #ccc;\"><code>os</code></td>\n",
144+
"<td style=\"padding: 6px; border: 1px solid #ccc;\">System commands</td>\n",
145+
"</tr>\n",
146+
"<tr>\n",
147+
"<td style=\"padding: 6px; border: 1px solid #ccc;\"><code>shutil</code></td>\n",
148+
"<td style=\"padding: 6px; border: 1px solid #ccc;\">File and directory clean up</td>\n",
149+
"</tr>\n",
150+
"<tr>\n",
151+
"<td style=\"padding: 6px; border: 1px solid #ccc;\"><code>astropy.io.fits</code></td>\n",
152+
"<td style=\"padding: 6px; border: 1px solid #ccc;\">Reading and modifying/creating FITS files</td>\n",
153+
"</tr>\n",
154+
"<tr>\n",
155+
"<td style=\"padding: 6px; border: 1px solid #ccc;\"><code>astropy.visualization</code></td>\n",
156+
"<td style=\"padding: 6px; border: 1px solid #ccc;\">Various tools for display FITS images</td>\n",
157+
"</tr>\n",
158+
"<tr>\n",
159+
"<td style=\"padding: 6px; border: 1px solid #ccc;\"><code>astropy.wcs.WCS</code></td>\n",
160+
"<td style=\"padding: 6px; border: 1px solid #ccc;\">Handling WCS objects</td>\n",
161+
"</tr>\n",
162+
"<tr>\n",
163+
"<td style=\"padding: 6px; border: 1px solid #ccc;\"><code>astroquery.mast.Observations</code></td>\n",
164+
"<td style=\"padding: 6px; border: 1px solid #ccc;\">Downloading FLT data from MAST</td>\n",
165+
"</tr>\n",
166+
"<tr>\n",
167+
"<td style=\"padding: 6px; border: 1px solid #ccc;\"><code>drizzlepac.astrodrizzle</code></td>\n",
168+
"<td style=\"padding: 6px; border: 1px solid #ccc;\">Creating a mosaic for the direct image filter</td>\n",
169+
"</tr>\n",
170+
"<tr>\n",
171+
"<td style=\"padding: 6px; border: 1px solid #ccc;\"><code>pyregions</code></td>\n",
172+
"<td style=\"padding: 6px; border: 1px solid #ccc;\">Overlaying DS9-formatted regions</td>\n",
173+
"</tr>\n",
174+
"<tr>\n",
175+
"<td style=\"padding: 6px; border: 1px solid #ccc;\"><code>slitlessutils</code></td>\n",
176+
"<td style=\"padding: 6px; border: 1px solid #ccc;\">Handling preprocessing and spectral extraction</td>\n",
177+
"</tr>\n",
178+
"</tbody>\n",
179+
"</table>"
184180
]
185181
},
186182
{
@@ -1140,16 +1136,17 @@
11401136
"cell_type": "markdown",
11411137
"metadata": {},
11421138
"source": [
1143-
"[Top of Page](#top)\n",
1144-
"<img style=\"float: right;\" src=\"https://raw.githubusercontent.com/spacetelescope/hst_notebooks/main/assets/stsci_pri_combo_mark_horizonal_white_bkgd.png\" alt=\"Space Telescope Logo\" width=\"200px\\\"/>"
1139+
"### For more help:\n",
1140+
"\n",
1141+
"More details may be found on the [ACS website](http://www.stsci.edu/hst/instrumentation/acs) and in the [ACS Instrument](https://hst-docs.stsci.edu/display/ACSIHB) and [Data Handbooks](https://hst-docs.stsci.edu/acsdhb).\n",
1142+
"\n",
1143+
"Please visit the [HST Help Desk](https://stsci.service-now.com/hst). Through the help desk portal, you can explore the HST Knowledge Base and request additional help from experts.\n",
1144+
"\n",
1145+
"<hr>\n",
1146+
"\n",
1147+
"[Top of Page](#titleImageReduction)\n",
1148+
"<img style=\"float: right;\" src=\"https://raw.githubusercontent.com/spacetelescope/hst_notebooks/main/assets/stsci_pri_combo_mark_horizonal_white_bkgd.png\" alt=\"Space Telescope Logo\" width=\"200px\"/> "
11451149
]
1146-
},
1147-
{
1148-
"cell_type": "code",
1149-
"execution_count": null,
1150-
"metadata": {},
1151-
"outputs": [],
1152-
"source": []
11531150
}
11541151
],
11551152
"metadata": {

0 commit comments

Comments
 (0)