From 8a05c76f31b09531cafb85428768f9a5a5b61abc Mon Sep 17 00:00:00 2001 From: Ricky O'Steen Date: Fri, 6 Mar 2020 12:53:18 -0500 Subject: [PATCH 1/2] Fixes issue 128 --- .../GriddedPSFModel_simulation_and_photometry.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notebooks/JWST/NIRCam/PSF_phot_01/GriddedPSFModel_simulation_and_photometry.ipynb b/notebooks/JWST/NIRCam/PSF_phot_01/GriddedPSFModel_simulation_and_photometry.ipynb index ddd6799f..26ab37ec 100644 --- a/notebooks/JWST/NIRCam/PSF_phot_01/GriddedPSFModel_simulation_and_photometry.ipynb +++ b/notebooks/JWST/NIRCam/PSF_phot_01/GriddedPSFModel_simulation_and_photometry.ipynb @@ -147,7 +147,7 @@ "metadata": {}, "outputs": [], "source": [ - "psfmodel = to_griddedpsfmodel(hdu, ext=0)" + "psfmodel = to_griddedpsfmodel(hdu, ext_header=0, ext_data=0)" ] }, { @@ -542,7 +542,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.7.1" + "version": "3.7.4" } }, "nbformat": 4, From dc560900a0a9686efd101224c4f21877e57c9390 Mon Sep 17 00:00:00 2001 From: Ricky O'Steen Date: Fri, 6 Mar 2020 16:02:17 -0500 Subject: [PATCH 2/2] Bumped up webbpsf requirement to current version --- notebooks/JWST/NIRCam/PSF_phot_01/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/JWST/NIRCam/PSF_phot_01/requirements.txt b/notebooks/JWST/NIRCam/PSF_phot_01/requirements.txt index fab3d570..fac06efb 100644 --- a/notebooks/JWST/NIRCam/PSF_phot_01/requirements.txt +++ b/notebooks/JWST/NIRCam/PSF_phot_01/requirements.txt @@ -2,5 +2,5 @@ numpy>=1.15 matplotlib>=2.2 astropy>=3.1.2 photutils>=0.6 -webbpsf>=0.8 +webbpsf>=0.9 scikit-learn>=0.20