Skip to content

Commit

Permalink
capitalize HSC_TAP
Browse files Browse the repository at this point in the history
  • Loading branch information
ttdu committed Feb 20, 2024
1 parent e50cd6f commit a9fd03b
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions notebooks/HSC/HSC_TAP/HSC_TAP.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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')"
]
Expand All @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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"
]
},
{
Expand Down Expand Up @@ -441,7 +437,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.4"
"version": "3.11.5"
}
},
"nbformat": 4,
Expand Down

0 comments on commit a9fd03b

Please sign in to comment.