Skip to content

Commit

Permalink
Fix polyfit typo in JWST_Mstar_dataAnalysis_analysis
Browse files Browse the repository at this point in the history
as mentioned in INC0188078
  • Loading branch information
pllim authored Mar 17, 2023
1 parent 85d978b commit 5f32e1a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
]
},
Expand Down

0 comments on commit 5f32e1a

Please sign in to comment.