From c9418a442489e1129d2f23a4b501f6acf7c312f9 Mon Sep 17 00:00:00 2001 From: Kris Stern Date: Wed, 26 Jun 2019 01:24:27 +0800 Subject: [PATCH 1/3] Add todo list items to Quantities tutorial --- tutorials/notebooks/quantities/quantities.ipynb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tutorials/notebooks/quantities/quantities.ipynb b/tutorials/notebooks/quantities/quantities.ipynb index ad7b89800..942e42ddf 100755 --- a/tutorials/notebooks/quantities/quantities.ipynb +++ b/tutorials/notebooks/quantities/quantities.ipynb @@ -7,7 +7,7 @@ "# Using Astropy Quantities for astrophysical calculations\n", "\n", "## Authors\n", - "Ana Bonaca, Erik Tollerud, Jonathan Foster\n", + "Ana Bonaca, Erik Tollerud, Jonathan Foster, Kris Stern\n", "\n", "## Learning Goals\n", "* Learn how to instantiate `astropy.units.Quantity` objects\n", @@ -20,6 +20,9 @@ "* Use the small angle approximation with `astropy.units.dimensionless_angles` equivalencies\n", "* Write functions with explicit units to prevent your Mars orbiter from crashing\n", "* Make synthetic radio observations\n", + "1. Use `Quantity` objects to estimate a hypothetical galaxy's mass\n", + "2. Use `Quantity` objects such as data cubes to facilitate a full derivation of the total mass of a molecular cloud\n", + "3. Write functions that take `Quantity` objects instead of raw numbers or arrays\n", "\n", "## Keywords\n", "units, matplotlib, radio astronomy, data cubes\n", @@ -1516,5 +1519,5 @@ } }, "nbformat": 4, - "nbformat_minor": 1 + "nbformat_minor": 2 } From e7ab396b4d9876578c2aaeeaacd887eb480ba055 Mon Sep 17 00:00:00 2001 From: Kris Stern Date: Wed, 26 Jun 2019 02:03:53 +0800 Subject: [PATCH 2/3] Fix typo --- tutorials/notebooks/quantities/quantities.ipynb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tutorials/notebooks/quantities/quantities.ipynb b/tutorials/notebooks/quantities/quantities.ipynb index 942e42ddf..57124d150 100755 --- a/tutorials/notebooks/quantities/quantities.ipynb +++ b/tutorials/notebooks/quantities/quantities.ipynb @@ -10,6 +10,11 @@ "Ana Bonaca, Erik Tollerud, Jonathan Foster, Kris Stern\n", "\n", "## Learning Goals\n", + "1. Use `Quantity` objects to estimate a hypothetical galaxy's mass\n", + "2. Use `Quantity` objects such as data cubes to facilitate a full derivation of the total mass of a molecular cloud\n", + "3. Write functions that take `Quantity` objects instead of raw numbers or arrays\n", + "\n", + "## Detailed Breakdown of Learning Goals\n", "* Learn how to instantiate `astropy.units.Quantity` objects\n", "* Take advantage of constants in the `astropy.constants` library\n", "* Print formatted unit strings\n", From f7621e33e7d7d063aef5f5fff593b03e05a1ce0e Mon Sep 17 00:00:00 2001 From: eblur Date: Tue, 2 Jul 2019 13:20:57 -0400 Subject: [PATCH 3/3] weaved suggested learning goals into recent updates --- tutorials/notebooks/quantities/quantities.ipynb | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/tutorials/notebooks/quantities/quantities.ipynb b/tutorials/notebooks/quantities/quantities.ipynb index 57124d150..658f9c06f 100755 --- a/tutorials/notebooks/quantities/quantities.ipynb +++ b/tutorials/notebooks/quantities/quantities.ipynb @@ -10,12 +10,7 @@ "Ana Bonaca, Erik Tollerud, Jonathan Foster, Kris Stern\n", "\n", "## Learning Goals\n", - "1. Use `Quantity` objects to estimate a hypothetical galaxy's mass\n", - "2. Use `Quantity` objects such as data cubes to facilitate a full derivation of the total mass of a molecular cloud\n", - "3. Write functions that take `Quantity` objects instead of raw numbers or arrays\n", - "\n", - "## Detailed Breakdown of Learning Goals\n", - "* Learn how to instantiate `astropy.units.Quantity` objects\n", + "* Use `Quantity` objects to estimate a hypothetical galaxy's mass\n", "* Take advantage of constants in the `astropy.constants` library\n", "* Print formatted unit strings\n", "* Plot `Quantity` objects with unit labels, using `astropy.visualization.quantity_support`\n", @@ -23,11 +18,9 @@ "* Convert quantities with `astropy.units`\n", "* Convert between wavelength and energy with `astropy.units.spectral` equivalencies\n", "* Use the small angle approximation with `astropy.units.dimensionless_angles` equivalencies\n", - "* Write functions with explicit units to prevent your Mars orbiter from crashing\n", + "* Write functions that take `Quantity` objects instead of numpy arrays\n", "* Make synthetic radio observations\n", - "1. Use `Quantity` objects to estimate a hypothetical galaxy's mass\n", - "2. Use `Quantity` objects such as data cubes to facilitate a full derivation of the total mass of a molecular cloud\n", - "3. Write functions that take `Quantity` objects instead of raw numbers or arrays\n", + "* Use `Quantity` objects such as data cubes to facilitate a full derivation of the total mass of a molecular cloud\n", "\n", "## Keywords\n", "units, matplotlib, radio astronomy, data cubes\n",