|
83 | 83 | "data_dir = '.'\n", |
84 | 84 | "\n", |
85 | 85 | "files = ['jw02731-o001_t017_nircam_clear-f090w_i2d.fits',\n", |
86 | | - " 'jw02731-o001_t017_nircam_clear-f187n_i2d.fits',\n", |
87 | | - " 'jw02731-o001_t017_nircam_clear-f200w_i2d.fits',\n", |
88 | | - " 'jw02731-o001_t017_nircam_clear-f335m_i2d.fits',\n", |
89 | 86 | " 'jw02731-o001_t017_nircam_clear-f444w_i2d.fits',\n", |
90 | 87 | " 'jw02731-o001_t017_nircam_f444w-f470n_i2d.fits']\n", |
91 | 88 | "\n", |
|
113 | 110 | " warnings.simplefilter('ignore')\n", |
114 | 111 | " with imviz.batch_load():\n", |
115 | 112 | " for fn in files:\n", |
116 | | - " imviz.load_data(f'{data_dir}/{fn}', data_label=fn[31:36])" |
| 113 | + " imviz.load(f'{data_dir}/{fn}', data_label=fn[31:36])" |
117 | 114 | ] |
118 | 115 | }, |
119 | 116 | { |
|
249 | 246 | "metadata": {}, |
250 | 247 | "outputs": [], |
251 | 248 | "source": [ |
252 | | - "plot_options.layer = 'f090w[SCI,1]'\n", |
| 249 | + "plot_options.layer = 'f090w'\n", |
253 | 250 | "plot_options.stretch_vmin = 4\n", |
254 | 251 | "plot_options.stretch_vmax = 16\n", |
255 | 252 | "plot_options.image_bias = 0.39\n", |
256 | 253 | "\n", |
257 | | - "plot_options.layer = 'f187n[SCI,1]'\n", |
258 | | - "plot_options.stretch_vmin = 10\n", |
259 | | - "plot_options.stretch_vmax = 16\n", |
260 | | - "plot_options.image_bias = 0.74\n", |
261 | | - "\n", |
262 | | - "plot_options.layer = 'f200w[SCI,1]'\n", |
263 | | - "plot_options.stretch_vmin = 1\n", |
264 | | - "plot_options.stretch_vmax = 5\n", |
265 | | - "plot_options.image_bias = 0.66\n", |
266 | | - "\n", |
267 | | - "plot_options.layer = 'f335m[SCI,1]'\n", |
268 | | - "plot_options.stretch_vmin = 4\n", |
269 | | - "plot_options.stretch_vmax = 27\n", |
270 | | - "plot_options.image_bias = 0.67\n", |
271 | | - "\n", |
272 | | - "plot_options.layer = 'f444w[SCI,1]'\n", |
| 254 | + "plot_options.layer = 'f444w'\n", |
273 | 255 | "plot_options.stretch_vmin = 1\n", |
274 | 256 | "plot_options.stretch_vmax = 14\n", |
275 | 257 | "plot_options.image_bias = 0.56\n", |
276 | 258 | "\n", |
277 | | - "plot_options.layer = 'f470n[SCI,1]'\n", |
| 259 | + "plot_options.layer = 'f470n'\n", |
278 | 260 | "plot_options.stretch_vmin = 1\n", |
279 | 261 | "plot_options.stretch_vmax = 6\n", |
280 | 262 | "plot_options.image_bias = 0.60" |
|
308 | 290 | "metadata": {}, |
309 | 291 | "outputs": [], |
310 | 292 | "source": [ |
311 | | - "Image('./carina.png')\n", |
312 | | - "# Image('./carina_preset.png')" |
| 293 | + "# Look at the image we just created\n", |
| 294 | + "#Image('./carina_preset.png') # commented out to avoid CI failures. Uncomment when running locally." |
| 295 | + ] |
| 296 | + }, |
| 297 | + { |
| 298 | + "cell_type": "code", |
| 299 | + "execution_count": null, |
| 300 | + "id": "36724c95-a24f-4fb7-a88e-7e330424cc23", |
| 301 | + "metadata": {}, |
| 302 | + "outputs": [], |
| 303 | + "source": [ |
| 304 | + "# Look at a previously-created version of the 3-color image\n", |
| 305 | + "Image('./carina.png')" |
313 | 306 | ] |
314 | 307 | }, |
315 | 308 | { |
316 | 309 | "cell_type": "markdown", |
317 | | - "id": "95de69d3", |
| 310 | + "id": "93b4cee3-ba17-46c8-9267-fcbda55c49c4", |
318 | 311 | "metadata": {}, |
319 | 312 | "source": [ |
320 | | - "<img style=\"float: right;\" src=\"https://raw.githubusercontent.com/spacetelescope/notebooks/master/assets/stsci_pri_combo_mark_horizonal_white_bkgd.png\" alt=\"Space Telescope Logo\" width=\"200px\"/>" |
| 313 | + "<img style=\"float: right;\" src=\"https://github.com/spacetelescope/jwst-pipeline-notebooks/raw/main/_static/stsci_footer.png\" alt=\"Space Telescope Logo\" width=\"200px\"/>" |
321 | 314 | ] |
322 | 315 | }, |
323 | 316 | { |
|
345 | 338 | "name": "python", |
346 | 339 | "nbconvert_exporter": "python", |
347 | 340 | "pygments_lexer": "ipython3", |
348 | | - "version": "3.12.9" |
| 341 | + "version": "3.12.12" |
349 | 342 | } |
350 | 343 | }, |
351 | 344 | "nbformat": 4, |
|
0 commit comments