From 5f32e1ac88d6fc6dee32814e8f65fd4c3d5e39eb Mon Sep 17 00:00:00 2001 From: "P. L. Lim" <2090236+pllim@users.noreply.github.com> Date: Fri, 17 Mar 2023 13:52:14 -0400 Subject: [PATCH] Fix polyfit typo in JWST_Mstar_dataAnalysis_analysis as mentioned in INC0188078 --- .../JWST_Mstar_dataAnalysis_analysis.ipynb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/notebooks/MRS_Mstar_analysis/JWST_Mstar_dataAnalysis_analysis.ipynb b/notebooks/MRS_Mstar_analysis/JWST_Mstar_dataAnalysis_analysis.ipynb index 99e3c051c..61d2f4a69 100644 --- a/notebooks/MRS_Mstar_analysis/JWST_Mstar_dataAnalysis_analysis.ipynb +++ b/notebooks/MRS_Mstar_analysis/JWST_Mstar_dataAnalysis_analysis.ipynb @@ -807,11 +807,11 @@ " \n", "a = checkKey(spectra, \"PolyFit\")\n", "if a is True:\n", - " # Extract Blackbody fit from Specviz\n", - " blackbody = spectra[\"PolyFit\"]\n", - "if a is False:\n", + " # Extract polynomial fit from Specviz\n", + " poly = spectra[\"PolyFit\"]\n", + "else:\n", " print(\"No Polyfit\")\n", - " fn = download_file('https://data.science.stsci.edu/redirect/JWST/jwst-data_analysis_tools/MRS_Mstar_analysis/poly.fits', cache=False)\n", + " fn = download_file('https://data.science.stsci.edu/redirect/JWST/jwst-data_analysis_tools/MRS_Mstar_analysis/poly.fits', cache=True)\n", " poly = Spectrum1D.read(fn)" ] },