Skip to content

Commit

Permalink
one last style change
Browse files Browse the repository at this point in the history
  • Loading branch information
gibsongreen committed Oct 17, 2024
1 parent 5da1199 commit 4b59e46
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions notebooks/psf_photometry/MIRI/miri_1028.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1259,13 +1259,20 @@
"# Do PSF Photometry using space_phot (details of fitting are in documentation)\n",
"# https://st-phot.readthedocs.io/en/latest/examples/plot_a_psf.html#jwst-images\n",
"\n",
"jwst_obs.psf_photometry(psfs, source_location, bounds={'flux': [-10, 1000],\n",
" # 'centroid': [-2, 2],\n",
" 'bkg': [0, 50]},\n",
" fit_width=5,\n",
" fit_bkg=True,\n",
" fit_centroid='fixed',\n",
" fit_flux='single')\n",
"jwst_obs.psf_photometry(\n",
" psfs,\n",
" source_location,\n",
" bounds={\n",
" 'flux': [-10, 1000],\n",
" # 'centroid': [-2, 2],\n",
" 'bkg': [0, 50]\n",
" },\n",
" fit_width=5,\n",
" fit_bkg=True,\n",
" fit_centroid='fixed',\n",
" fit_flux='single'\n",
")\n",
"\n",
"jwst_obs.plot_psf_fit()\n",
"plt.show()\n",
"\n",
Expand Down

0 comments on commit 4b59e46

Please sign in to comment.