diff --git a/notebooks/HSC/HSC_TAP/HSC_TAP.ipynb b/notebooks/HSC/HSC_TAP/HSC_TAP.ipynb index 215b8c6b7..bb5d267fe 100644 --- a/notebooks/HSC/HSC_TAP/HSC_TAP.ipynb +++ b/notebooks/HSC/HSC_TAP/HSC_TAP.ipynb @@ -77,10 +77,6 @@ "import time\n", "from matplotlib import pyplot as plt\n", "\n", - "# To allow display tweaks for wider response tables\n", - "from IPython.core.display import display\n", - "from IPython.core.display import HTML\n", - "\n", "# For the second example: kernel density estimates\n", "from scipy.stats import gaussian_kde\n", "\n", @@ -244,7 +240,7 @@ "source": [ "plt.rcParams.update({'font.size': 16})\n", "plt.figure(1,(10,6))\n", - "plt.scatter(HSC_results['a_f475w'], HSC_results['a_f475w_mad'])\n", + "plt.scatter(HSC_results['A_F475W'], HSC_results['A_F475W_MAD'])\n", "plt.xlabel('A_F475W')\n", "plt.ylabel('A_F475W_MAD')" ] @@ -255,12 +251,12 @@ "metadata": {}, "outputs": [], "source": [ - "madvalues = HSC_results['a_f475w_mad']\n", + "madvalues = HSC_results['A_F475W_MAD']\n", "i = np.argmax(madvalues)\n", "print()\n", "print(HSC_results[i])\n", "\n", - "matchid = HSC_results['matchid'][i]\n", + "matchid = HSC_results['MatchID'][i]\n", "details = HSC_service.run_async(\"\"\"\n", "SELECT SourceID, ImageID, SourceRA, SourceDec, D, Filter, Detector, MagAper2, StartMJD\n", "FROM dbo.DetailedCatalog\n", @@ -323,10 +319,10 @@ "metadata": {}, "outputs": [], "source": [ - "f555w = HSC_results['a_f555w']\n", - "f814w = HSC_results['a_f814w']\n", + "f555w = HSC_results['A_F555W']\n", + "f814w = HSC_results['A_F814W']\n", "VminusI = f555w-f814w\n", - "CI = HSC_results['ci']\n", + "CI = HSC_results['CI']\n", "w = np.where((CI>0.9) & (CI<1.6) & (VminusI > -1.5) & (VminusI < 1.5))\n", "print(len(w[0]),\"points remaining after CI and V-I filtering\")\n", "\n", @@ -407,7 +403,7 @@ "## About this Notebook\n", "**Authors:** Rick White & Theresa Dower, STScI Archive Scientist & Software Engineer\n", "\n", - "**Last Updated:** Oct 2023" + "**Last Updated:** Feb 2024" ] }, { @@ -441,7 +437,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.4" + "version": "3.11.5" } }, "nbformat": 4,