Skip to content

Commit

Permalink
fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
gibsongreen committed Nov 20, 2024
1 parent c7e9208 commit 8f0bbfd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions notebooks/MIRI/psf_photometry/miri_spacephot.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,7 @@
"outputs": [],
"source": [
"# The scale should highlight the background noise so it is possible to see all faint sources.\n",
"ref_cutout = extract_array(psf3.data,(161, 161), (200, 200))\n",
"ref_cutout = extract_array(psf3.data, (161, 161), (200, 200))\n",
"norm1 = simple_norm(ref_cutout, stretch='log', min_cut=0.0, max_cut=0.01)\n",
"\n",
"plt.imshow(ref_cutout, origin='lower', norm=norm1, cmap='gray')\n",
Expand Down Expand Up @@ -1686,7 +1686,7 @@
"# Create a grid for fast lookup using WebbPSF. The larger the number of grid points, the better the photometric precision.\n",
"# Developer note. Would be great to have a fast/approximate look up table. \n",
"jwst_obs = space_phot.observation2(lvl2)\n",
"grid = space_phot.util.get_jwst_psf_grid(jwst_obs,num_psfs=16)"
"grid = space_phot.util.get_jwst_psf_grid(jwst_obs, num_psfs=16)"
]
},
{
Expand Down Expand Up @@ -1807,7 +1807,6 @@
" maxiter=None\n",
" )\n",
"\n",
"\n",
" jwst_obs.plot_psf_fit()\n",
" plt.show()\n",
" ra = jwst_obs.psf_result.phot_cal_table['ra'][0]\n",
Expand Down Expand Up @@ -1995,7 +1994,6 @@
" fit_flux=True\n",
" )\n",
"\n",
"\n",
" jwst3_obs.plot_psf_fit()\n",
" plt.show()\n",
"\n",
Expand Down

0 comments on commit 8f0bbfd

Please sign in to comment.