Skip to content

Commit

Permalink
Minor cosmetic changes to webbpsf notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
ttdu authored Oct 25, 2024
2 parents b4270d3 + 6d4f26b commit 881d584
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions content/notebooks/webbpsf/webbpsf.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"id": "8d611320-085b-4683-be9f-88cd62c417a5",
"metadata": {},
"source": [
"We also edit `matplotlib` configuration parameters to make figures larger by default and prevent any smoothing of pixel edges."
"We also edit `matplotlib`'s interpolation setting to prevent any smoothing of pixel edges."
]
},
{
Expand All @@ -89,7 +89,6 @@
"metadata": {},
"outputs": [],
"source": [
"matplotlib.rcParams['figure.figsize'] = (16, 7)\n",
"matplotlib.rcParams['image.interpolation'] = 'nearest'"
]
},
Expand Down Expand Up @@ -124,7 +123,9 @@
"source": [
"#### Default parameters\n",
"\n",
"After selecting the proper instrument (Roman WFI), generating a PSF can be as short as a single line."
"After selecting the proper instrument (Roman WFI), generating a PSF can be as short as a single line.\n",
"\n",
"**Note:** allow about a minute for this to run"
]
},
{
Expand All @@ -135,6 +136,7 @@
"outputs": [],
"source": [
"wfi = webbpsf.roman.WFI()\n",
"plt.figure(figsize=(6, 8))\n",
"default_psf = wfi.calc_psf(display=True)"
]
},
Expand Down

0 comments on commit 881d584

Please sign in to comment.