From 25169c7815bff6a4b1f772956bc4a37b94b92af1 Mon Sep 17 00:00:00 2001 From: i-olin Date: Wed, 15 May 2024 15:30:00 -0700 Subject: [PATCH 1/3] Fixed grammar in SpectralEnergyDistributions --- .../SpectralEnergyDistributionsInSplusDr1.ipynb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/03_ScienceExamples/SpectralEnergyDistributions/SpectralEnergyDistributionsInSplusDr1.ipynb b/03_ScienceExamples/SpectralEnergyDistributions/SpectralEnergyDistributionsInSplusDr1.ipynb index ce2d98b4..549e0a70 100644 --- a/03_ScienceExamples/SpectralEnergyDistributions/SpectralEnergyDistributionsInSplusDr1.ipynb +++ b/03_ScienceExamples/SpectralEnergyDistributions/SpectralEnergyDistributionsInSplusDr1.ipynb @@ -11,7 +11,7 @@ "outputs": [], "source": [ "__author__ = 'David Nidever , Astro Data Lab Team '\n", - "__version__ = '20230830' # yyymmdd\n", + "__version__ = '20240515' # yyyymmdd\n", "__datasets__ = ['splus_dr1']\n", "__keywords__ = ['science example', 'plot:cmd', 'plot:color-color', 'image cutout']" ] @@ -126,7 +126,7 @@ " \n", "# Query the S-PLUS DR1 database\n", "\n", - "Let's see how we query the S-PLUS DR1 database. With no specific spatial region in mind we'll just take the first 10,000 objects.\n", + "Let's see how we query the S-PLUS DR1 database. With no specific spatial region in mind, we'll just take the first 10,000 objects.\n", "\n", "## Construct the query string" ] @@ -350,7 +350,7 @@ "\n", "The many S-PLUS photometric bands can be used to produce color-color diagrams that are useful for measuring properties such as the metallicity or surface gravity of a star.\n", "\n", - "(g-F515) vs. (g-r) is sensitive to surface gravity and can be used to separate dwarf stars from giant stars. The main locus of points is the dwarfs will the red giant live in the upper right. [See Majewski et al. (2000)](http://adsabs.harvard.edu/abs/2000AJ....120.2550M) for more details on this method." + "(g-F515) vs. (g-r) is sensitive to surface gravity and can be used to separate dwarf stars from giant stars. The main focus of points is the dwarfs, while the red giant live in the upper right. [See Majewski et al. (2000)](http://adsabs.harvard.edu/abs/2000AJ....120.2550M) for more details on this method." ] }, { @@ -426,7 +426,7 @@ "\n", "# Creating Spectral Energy Distributions\n", "One of the great advantages of the S-PLUS dataset is the large number of wide and narrow-band filters that can be used\n", - "to study the properties of the objects. Here we show how plot the Spectral Energy Distributions (SEDs) of objects. These can then be compared to spectral models to constrain properties such as Teff, logg and metallicity (for stars) and galaxy type and redshift for galaxies (see [Cennaro et al. 2018](http://adsabs.harvard.edu/abs/2018arXiv180402667C) for some examples)." + "to study the properties of the objects. Here we show how to plot the Spectral Energy Distributions (SEDs) of objects. These can then be compared to spectral models to constrain properties such as Teff, logg and metallicity (for stars) and galaxy type and redshift for galaxies (see [Cennaro et al. 2018](http://adsabs.harvard.edu/abs/2018arXiv180402667C) for some examples)." ] }, { @@ -668,7 +668,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.6" + "version": "3.12.0" } }, "nbformat": 4, From 911604f9a9979e092c22abac655539ed341fdb80 Mon Sep 17 00:00:00 2001 From: i-olin Date: Wed, 15 May 2024 16:12:49 -0700 Subject: [PATCH 2/3] corrections to MidInfraredPhotometry and ExploringSMASHDR2 --- .../GalacticStructure/ExploringSMASHDR2.ipynb | 10 +++++----- .../MidInfraredPhotometry_unWISEdr1_AllWISE.ipynb | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/03_ScienceExamples/GalacticStructure/ExploringSMASHDR2.ipynb b/03_ScienceExamples/GalacticStructure/ExploringSMASHDR2.ipynb index 1a86fb80..f47e5c36 100644 --- a/03_ScienceExamples/GalacticStructure/ExploringSMASHDR2.ipynb +++ b/03_ScienceExamples/GalacticStructure/ExploringSMASHDR2.ipynb @@ -75,7 +75,7 @@ "* deep - Same as object but only using the deepest exposures for each field (357,395,383 rows).\n", "* xmatch - Crossmatches between SMASH and Gaia DR2, 2MASS and ALLWISE (4,155,114,664 rows).\n", "\n", - "In this notebook, we'll use these some of tables to do some exploration of the SMASH survey.\n" + "In this notebook, we'll use some of these tables to do some exploration of the SMASH survey.\n" ] }, { @@ -1521,7 +1521,7 @@ "source": [ "\n", "# Make depth and color maps\n", - "Now we'll get a little fancier with our maps. We'll have the database return average g- and i-band magnitudes and colors, and make some cuts on the magntude errors. We again GROUP BY the nest4096 column.\n" + "Now we'll get a little fancier with our maps. We'll have the database return average g- and i-band magnitudes and colors, and make some cuts on the magnitude errors. We again GROUP BY the nest4096 column.\n" ] }, { @@ -2277,7 +2277,7 @@ "ax1 = fig.add_subplot(121)\n", "ax2 = fig.add_subplot(122)\n", "\n", - "# color-magnitude diagram (Hess diagram)\n", + "# color-color diagram\n", "im = ax1.hexbin(df_cmd['gmag']-df_cmd['rmag'],df_cmd['gmag']-df_cmd['imag'], \\\n", " gridsize=400,cmap=matplotlib.cm.viridis,norm=matplotlib.colors.LogNorm())\n", "ax1.set_ylabel('g - r',fontsize=15)\n", @@ -3342,7 +3342,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3", + "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, @@ -3356,7 +3356,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.8" + "version": "3.12.0" } }, "nbformat": 4, diff --git a/03_ScienceExamples/SpectralEnergyDistributions/MidInfraredPhotometry_unWISEdr1_AllWISE.ipynb b/03_ScienceExamples/SpectralEnergyDistributions/MidInfraredPhotometry_unWISEdr1_AllWISE.ipynb index 2408df3f..f40250be 100644 --- a/03_ScienceExamples/SpectralEnergyDistributions/MidInfraredPhotometry_unWISEdr1_AllWISE.ipynb +++ b/03_ScienceExamples/SpectralEnergyDistributions/MidInfraredPhotometry_unWISEdr1_AllWISE.ipynb @@ -7,7 +7,7 @@ "outputs": [], "source": [ "__author__ = 'Stephanie Juneau '\n", - "__version__ = '20230830' # yyyymmdd\n", + "__version__ = '20240515' # yyyymmdd\n", "__datasets__ = ['unwise_dr1', 'allwise']\n", "__keywords__ = ['science example', 'plot:cmd', 'plot:histogram']" ] @@ -119,7 +119,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Below is an query from the *GettingStartedWithDataLab* notebook to quickly retrieve useful stats from the **tbl_stat** table." + "Below is a query from the *GettingStartedWithDataLab* notebook to quickly retrieve useful stats from the **tbl_stat** table." ] }, { @@ -482,7 +482,7 @@ "\n", "# Chapter 2 - Color & Magnitude Distributions\n", "\n", - "For reference, we will compate with the distributions of *W1-W2* color and *W1* magnitude from the cross-matched AllWISE-SDSS DR10 sample from the work of [Kurcz et al (2016)](https://ui.adsabs.harvard.edu/abs/2016A%26A...592A..25K). Below, we will create distributions from our query results." + "For reference, we will compare with the distributions of *W1-W2* color and *W1* magnitude from the cross-matched AllWISE-SDSS DR10 sample from the work of [Kurcz et al (2016)](https://ui.adsabs.harvard.edu/abs/2016A%26A...592A..25K). Below, we will create distributions from our query results." ] }, { @@ -772,7 +772,7 @@ "metadata": {}, "source": [ "### NOTES:\n", - "The Color-Magnitude distributions of the unWISE and AllWISE datasets show that an obvious difference in sensitivity, with unWISE reaching about ~0.5 magnitudes deeper in `W2`. Their respective detection limits are around `W2>17.5` for unWISE (vertical grey line), and around `W2>17` for AllWISE. In addition, there are slight differences between the two bivariate distributions. For instance, the upper-right envelope displays a different shape. Users of this notebook can explore what the origin of the differences might be." + "The Color-Magnitude distributions of the unWISE and AllWISE datasets show an obvious difference in sensitivity, with unWISE reaching about ~0.5 magnitudes deeper in `W2`. Their respective detection limits are around `W2>17.5` for unWISE (vertical grey line), and around `W2>17` for AllWISE. In addition, there are slight differences between the two bivariate distributions. For instance, the upper-right envelope displays a different shape. Users of this notebook can explore what the origin of the differences might be." ] }, { @@ -1038,7 +1038,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.6" + "version": "3.12.0" } }, "nbformat": 4, From 280ace976ab1c2ec17d5da4c2e13eecb6b0a0c99 Mon Sep 17 00:00:00 2001 From: i-olin Date: Wed, 15 May 2024 16:52:14 -0700 Subject: [PATCH 3/3] Checking for typos in Intro to Desi --- 03_ScienceExamples/DESI/01_Intro_to_DESI_EDR.ipynb | 8 ++++---- 03_ScienceExamples/DESI/01a_Intro_to_DESI_EDR-Py3.ipynb | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/03_ScienceExamples/DESI/01_Intro_to_DESI_EDR.ipynb b/03_ScienceExamples/DESI/01_Intro_to_DESI_EDR.ipynb index ef852188..19ec21e9 100644 --- a/03_ScienceExamples/DESI/01_Intro_to_DESI_EDR.ipynb +++ b/03_ScienceExamples/DESI/01_Intro_to_DESI_EDR.ipynb @@ -16,7 +16,7 @@ "outputs": [], "source": [ "__author__ = 'Ragadeepika Pucha , Stephanie Juneau '\n", - "__version__ = '20230914' \n", + "__version__ = '20230914' #yyyymmdd\n", "__datasets__ = ['desi_edr'] \n", "__keywords__ = ['sparcl', 'spectra', 'database']" ] @@ -1638,9 +1638,9 @@ ], "metadata": { "kernelspec": { - "display_name": "DESI 23.1", + "display_name": "Python 3 (ipykernel)", "language": "python", - "name": "desi_23.1" + "name": "python3" }, "language_info": { "codemirror_mode": { @@ -1652,7 +1652,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.8" + "version": "3.12.0" } }, "nbformat": 4, diff --git a/03_ScienceExamples/DESI/01a_Intro_to_DESI_EDR-Py3.ipynb b/03_ScienceExamples/DESI/01a_Intro_to_DESI_EDR-Py3.ipynb index 38aac16e..725934c2 100644 --- a/03_ScienceExamples/DESI/01a_Intro_to_DESI_EDR-Py3.ipynb +++ b/03_ScienceExamples/DESI/01a_Intro_to_DESI_EDR-Py3.ipynb @@ -16,7 +16,7 @@ "outputs": [], "source": [ "__author__ = 'Ragadeepika Pucha , Stephanie Juneau '\n", - "__version__ = '20230824' \n", + "__version__ = '20230824' #yyyymmdd\n", "__datasets__ = ['desi_edr'] \n", "__keywords__ = ['sparcl', 'spectra', 'database']" ] @@ -1480,7 +1480,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3", + "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, @@ -1494,7 +1494,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.8" + "version": "3.12.0" } }, "nbformat": 4,