mirror of
https://github.com/AllenDowney/AstronomicalData.git
synced 2025-12-22 15:16:30 -08:00
Update documentation
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Chapter 3 — Astronomical Data in Python</title>
|
<title>Proper Motion — Astronomical Data in Python</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="_static/css/index.d431a4ee1c1efae0e38bdfebc22debff.css">
|
<link rel="stylesheet" href="_static/css/index.d431a4ee1c1efae0e38bdfebc22debff.css">
|
||||||
|
|
||||||
@@ -57,7 +57,7 @@
|
|||||||
<script async="async" src="_static/sphinx-thebe.js"></script>
|
<script async="async" src="_static/sphinx-thebe.js"></script>
|
||||||
<link rel="index" title="Index" href="genindex.html" />
|
<link rel="index" title="Index" href="genindex.html" />
|
||||||
<link rel="search" title="Search" href="search.html" />
|
<link rel="search" title="Search" href="search.html" />
|
||||||
<link rel="next" title="Chapter 4" href="04_select.html" />
|
<link rel="next" title="Transformation and Selection" href="04_select.html" />
|
||||||
<link rel="prev" title="Coordinates and units" href="02_coords.html" />
|
<link rel="prev" title="Coordinates and units" href="02_coords.html" />
|
||||||
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
@@ -109,27 +109,27 @@
|
|||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1 current active">
|
<li class="toctree-l1 current active">
|
||||||
<a class="current reference internal" href="#">
|
<a class="current reference internal" href="#">
|
||||||
Chapter 3
|
Proper Motion
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="04_select.html">
|
<a class="reference internal" href="04_select.html">
|
||||||
Chapter 4
|
Transformation and Selection
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="05_join.html">
|
<a class="reference internal" href="05_join.html">
|
||||||
Chapter 5
|
Joining Tables
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="06_photo.html">
|
<a class="reference internal" href="06_photo.html">
|
||||||
Chapter 6
|
Photometry
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="07_plot.html">
|
<a class="reference internal" href="07_plot.html">
|
||||||
Chapter 7
|
Visualization
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -331,8 +331,8 @@
|
|||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
<div class="section" id="chapter-3">
|
<div class="section" id="proper-motion">
|
||||||
<h1>Chapter 3<a class="headerlink" href="#chapter-3" title="Permalink to this headline">¶</a></h1>
|
<h1>Proper Motion<a class="headerlink" href="#proper-motion" title="Permalink to this headline">¶</a></h1>
|
||||||
<p>This is the third in a series of notebooks related to astronomy data.</p>
|
<p>This is the third in a series of notebooks related to astronomy data.</p>
|
||||||
<p>As a running example, we are replicating parts of the analysis in a recent paper, “<a class="reference external" href="https://arxiv.org/abs/1805.00425">Off the beaten path: Gaia reveals GD-1 stars outside of the main stream</a>” by Adrian M. Price-Whelan and Ana Bonaca.</p>
|
<p>As a running example, we are replicating parts of the analysis in a recent paper, “<a class="reference external" href="https://arxiv.org/abs/1805.00425">Off the beaten path: Gaia reveals GD-1 stars outside of the main stream</a>” by Adrian M. Price-Whelan and Ana Bonaca.</p>
|
||||||
<p>In the first lesson, we wrote ADQL queries and used them to select and download data from the Gaia server.</p>
|
<p>In the first lesson, we wrote ADQL queries and used them to select and download data from the Gaia server.</p>
|
||||||
@@ -1508,7 +1508,7 @@ Name: phi2, dtype: bool
|
|||||||
<div class='prev-next-bottom'>
|
<div class='prev-next-bottom'>
|
||||||
|
|
||||||
<a class='left-prev' id="prev-link" href="02_coords.html" title="previous page">Coordinates and units</a>
|
<a class='left-prev' id="prev-link" href="02_coords.html" title="previous page">Coordinates and units</a>
|
||||||
<a class='right-next' id="next-link" href="04_select.html" title="next page">Chapter 4</a>
|
<a class='right-next' id="next-link" href="04_select.html" title="next page">Transformation and Selection</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<footer class="footer mt-5 mt-md-0">
|
<footer class="footer mt-5 mt-md-0">
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Chapter 4 — Astronomical Data in Python</title>
|
<title>Transformation and Selection — Astronomical Data in Python</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="_static/css/index.d431a4ee1c1efae0e38bdfebc22debff.css">
|
<link rel="stylesheet" href="_static/css/index.d431a4ee1c1efae0e38bdfebc22debff.css">
|
||||||
|
|
||||||
@@ -57,8 +57,8 @@
|
|||||||
<script async="async" src="_static/sphinx-thebe.js"></script>
|
<script async="async" src="_static/sphinx-thebe.js"></script>
|
||||||
<link rel="index" title="Index" href="genindex.html" />
|
<link rel="index" title="Index" href="genindex.html" />
|
||||||
<link rel="search" title="Search" href="search.html" />
|
<link rel="search" title="Search" href="search.html" />
|
||||||
<link rel="next" title="Chapter 5" href="05_join.html" />
|
<link rel="next" title="Joining Tables" href="05_join.html" />
|
||||||
<link rel="prev" title="Chapter 3" href="03_motion.html" />
|
<link rel="prev" title="Proper Motion" href="03_motion.html" />
|
||||||
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<meta name="docsearch:language" content="en" />
|
<meta name="docsearch:language" content="en" />
|
||||||
@@ -109,27 +109,27 @@
|
|||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="03_motion.html">
|
<a class="reference internal" href="03_motion.html">
|
||||||
Chapter 3
|
Proper Motion
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1 current active">
|
<li class="toctree-l1 current active">
|
||||||
<a class="current reference internal" href="#">
|
<a class="current reference internal" href="#">
|
||||||
Chapter 4
|
Transformation and Selection
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="05_join.html">
|
<a class="reference internal" href="05_join.html">
|
||||||
Chapter 5
|
Joining Tables
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="06_photo.html">
|
<a class="reference internal" href="06_photo.html">
|
||||||
Chapter 6
|
Photometry
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="07_plot.html">
|
<a class="reference internal" href="07_plot.html">
|
||||||
Chapter 7
|
Visualization
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -311,8 +311,8 @@
|
|||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
<div class="section" id="chapter-4">
|
<div class="section" id="transformation-and-selection">
|
||||||
<h1>Chapter 4<a class="headerlink" href="#chapter-4" title="Permalink to this headline">¶</a></h1>
|
<h1>Transformation and Selection<a class="headerlink" href="#transformation-and-selection" title="Permalink to this headline">¶</a></h1>
|
||||||
<p>This is the fourth in a series of notebooks related to astronomy data.</p>
|
<p>This is the fourth in a series of notebooks related to astronomy data.</p>
|
||||||
<p>As a running example, we are replicating parts of the analysis in a recent paper, “<a class="reference external" href="https://arxiv.org/abs/1805.00425">Off the beaten path: Gaia reveals GD-1 stars outside of the main stream</a>” by Adrian M. Price-Whelan and Ana Bonaca.</p>
|
<p>As a running example, we are replicating parts of the analysis in a recent paper, “<a class="reference external" href="https://arxiv.org/abs/1805.00425">Off the beaten path: Gaia reveals GD-1 stars outside of the main stream</a>” by Adrian M. Price-Whelan and Ana Bonaca.</p>
|
||||||
<p>In the first lesson, we wrote ADQL queries and used them to select and download data from the Gaia server.</p>
|
<p>In the first lesson, we wrote ADQL queries and used them to select and download data from the Gaia server.</p>
|
||||||
@@ -1235,8 +1235,8 @@ Results: None
|
|||||||
|
|
||||||
<div class='prev-next-bottom'>
|
<div class='prev-next-bottom'>
|
||||||
|
|
||||||
<a class='left-prev' id="prev-link" href="03_motion.html" title="previous page">Chapter 3</a>
|
<a class='left-prev' id="prev-link" href="03_motion.html" title="previous page">Proper Motion</a>
|
||||||
<a class='right-next' id="next-link" href="05_join.html" title="next page">Chapter 5</a>
|
<a class='right-next' id="next-link" href="05_join.html" title="next page">Joining Tables</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<footer class="footer mt-5 mt-md-0">
|
<footer class="footer mt-5 mt-md-0">
|
||||||
|
|||||||
52
05_join.html
52
05_join.html
@@ -5,7 +5,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Chapter 5 — Astronomical Data in Python</title>
|
<title>Joining Tables — Astronomical Data in Python</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="_static/css/index.d431a4ee1c1efae0e38bdfebc22debff.css">
|
<link rel="stylesheet" href="_static/css/index.d431a4ee1c1efae0e38bdfebc22debff.css">
|
||||||
|
|
||||||
@@ -57,8 +57,8 @@
|
|||||||
<script async="async" src="_static/sphinx-thebe.js"></script>
|
<script async="async" src="_static/sphinx-thebe.js"></script>
|
||||||
<link rel="index" title="Index" href="genindex.html" />
|
<link rel="index" title="Index" href="genindex.html" />
|
||||||
<link rel="search" title="Search" href="search.html" />
|
<link rel="search" title="Search" href="search.html" />
|
||||||
<link rel="next" title="Chapter 6" href="06_photo.html" />
|
<link rel="next" title="Photometry" href="06_photo.html" />
|
||||||
<link rel="prev" title="Chapter 4" href="04_select.html" />
|
<link rel="prev" title="Transformation and Selection" href="04_select.html" />
|
||||||
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<meta name="docsearch:language" content="en" />
|
<meta name="docsearch:language" content="en" />
|
||||||
@@ -109,27 +109,27 @@
|
|||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="03_motion.html">
|
<a class="reference internal" href="03_motion.html">
|
||||||
Chapter 3
|
Proper Motion
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="04_select.html">
|
<a class="reference internal" href="04_select.html">
|
||||||
Chapter 4
|
Transformation and Selection
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1 current active">
|
<li class="toctree-l1 current active">
|
||||||
<a class="current reference internal" href="#">
|
<a class="current reference internal" href="#">
|
||||||
Chapter 5
|
Joining Tables
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="06_photo.html">
|
<a class="reference internal" href="06_photo.html">
|
||||||
Chapter 6
|
Photometry
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="07_plot.html">
|
<a class="reference internal" href="07_plot.html">
|
||||||
Chapter 7
|
Visualization
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -254,7 +254,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toc-h2 nav-item toc-entry">
|
<li class="toc-h2 nav-item toc-entry">
|
||||||
<a class="reference internal nav-link" href="#joining-tables">
|
<a class="reference internal nav-link" href="#id1">
|
||||||
Joining tables
|
Joining tables
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -285,11 +285,6 @@
|
|||||||
Getting the photometry data
|
Getting the photometry data
|
||||||
</a>
|
</a>
|
||||||
<ul class="nav section-nav flex-column">
|
<ul class="nav section-nav flex-column">
|
||||||
<li class="toc-h3 nav-item toc-entry">
|
|
||||||
<a class="reference internal nav-link" href="#id1">
|
|
||||||
Exercise
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="toc-h3 nav-item toc-entry">
|
<li class="toc-h3 nav-item toc-entry">
|
||||||
<a class="reference internal nav-link" href="#id2">
|
<a class="reference internal nav-link" href="#id2">
|
||||||
Exercise
|
Exercise
|
||||||
@@ -300,6 +295,11 @@
|
|||||||
Exercise
|
Exercise
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="toc-h3 nav-item toc-entry">
|
||||||
|
<a class="reference internal nav-link" href="#id4">
|
||||||
|
Exercise
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="toc-h2 nav-item toc-entry">
|
<li class="toc-h2 nav-item toc-entry">
|
||||||
@@ -328,8 +328,8 @@
|
|||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
<div class="section" id="chapter-5">
|
<div class="section" id="joining-tables">
|
||||||
<h1>Chapter 5<a class="headerlink" href="#chapter-5" title="Permalink to this headline">¶</a></h1>
|
<h1>Joining Tables<a class="headerlink" href="#joining-tables" title="Permalink to this headline">¶</a></h1>
|
||||||
<p>This is the fifth in a series of notebooks related to astronomy data.</p>
|
<p>This is the fifth in a series of notebooks related to astronomy data.</p>
|
||||||
<p>As a continuing example, we will replicate part of the analysis in a recent paper, “<a class="reference external" href="https://arxiv.org/abs/1805.00425">Off the beaten path: Gaia reveals GD-1 stars outside of the main stream</a>” by Adrian M. Price-Whelan and Ana Bonaca.</p>
|
<p>As a continuing example, we will replicate part of the analysis in a recent paper, “<a class="reference external" href="https://arxiv.org/abs/1805.00425">Off the beaten path: Gaia reveals GD-1 stars outside of the main stream</a>” by Adrian M. Price-Whelan and Ana Bonaca.</p>
|
||||||
<p>Picking up where we left off, the next step in the analysis is to select candidate stars based on photometry data. The following figure from the paper is a color-magnitude diagram for the stars selected based on proper motion:</p>
|
<p>Picking up where we left off, the next step in the analysis is to select candidate stars based on photometry data. The following figure from the paper is a color-magnitude diagram for the stars selected based on proper motion:</p>
|
||||||
@@ -408,8 +408,8 @@
|
|||||||
<p>Fortunately, smart people have worked on this problem, and the Gaia database includes cross-matching tables that suggest a best neighbor in the Pan-STARRS catalog for many stars in the Gaia catalog.</p>
|
<p>Fortunately, smart people have worked on this problem, and the Gaia database includes cross-matching tables that suggest a best neighbor in the Pan-STARRS catalog for many stars in the Gaia catalog.</p>
|
||||||
<p><a class="reference external" href="https://gea.esac.esa.int/archive/documentation/GDR2/Catalogue_consolidation/chap_cu9val_cu9val/ssec_cu9xma/sssec_cu9xma_extcat.html">This document describes the cross matching process</a>. Briefly, it uses a cone search to find possible matches in approximately the right position, then uses attributes like color and magnitude to choose pairs of observations most likely to be the same star.</p>
|
<p><a class="reference external" href="https://gea.esac.esa.int/archive/documentation/GDR2/Catalogue_consolidation/chap_cu9val_cu9val/ssec_cu9xma/sssec_cu9xma_extcat.html">This document describes the cross matching process</a>. Briefly, it uses a cone search to find possible matches in approximately the right position, then uses attributes like color and magnitude to choose pairs of observations most likely to be the same star.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="joining-tables">
|
<div class="section" id="id1">
|
||||||
<h2>Joining tables<a class="headerlink" href="#joining-tables" title="Permalink to this headline">¶</a></h2>
|
<h2>Joining tables<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
|
||||||
<p>So the hard part of cross-matching has been done for us. Using the results is a little tricky, but it gives us a chance to learn about one of the most important tools for working with databases: “joining” tables.</p>
|
<p>So the hard part of cross-matching has been done for us. Using the results is a little tricky, but it gives us a chance to learn about one of the most important tools for working with databases: “joining” tables.</p>
|
||||||
<p>In general, a “join” is an operation where you match up records from one table with records from another table using as a “key” a piece of information that is common to both tables, usually some kind of ID code.</p>
|
<p>In general, a “join” is an operation where you match up records from one table with records from another table using as a “key” a piece of information that is common to both tables, usually some kind of ID code.</p>
|
||||||
<p>In this example:</p>
|
<p>In this example:</p>
|
||||||
@@ -864,8 +864,8 @@ dtype: float64
|
|||||||
<li><p>Run the query using the uploaded table.</p></li>
|
<li><p>Run the query using the uploaded table.</p></li>
|
||||||
</ol>
|
</ol>
|
||||||
<p>Since we’ve done everything here before, we’ll do these steps as an exercise.</p>
|
<p>Since we’ve done everything here before, we’ll do these steps as an exercise.</p>
|
||||||
<div class="section" id="id1">
|
<div class="section" id="id2">
|
||||||
<h3>Exercise<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h3>
|
<h3>Exercise<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h3>
|
||||||
<p>Select <code class="docutils literal notranslate"><span class="pre">source_id</span></code> and <code class="docutils literal notranslate"><span class="pre">original_ext_source_id</span></code> from <code class="docutils literal notranslate"><span class="pre">results1</span></code> and write the resulting table as a file named <code class="docutils literal notranslate"><span class="pre">external.xml</span></code>.</p>
|
<p>Select <code class="docutils literal notranslate"><span class="pre">source_id</span></code> and <code class="docutils literal notranslate"><span class="pre">original_ext_source_id</span></code> from <code class="docutils literal notranslate"><span class="pre">results1</span></code> and write the resulting table as a file named <code class="docutils literal notranslate"><span class="pre">external.xml</span></code>.</p>
|
||||||
<div class="cell tag_hide-cell docutils container">
|
<div class="cell tag_hide-cell docutils container">
|
||||||
<div class="cell_input docutils container">
|
<div class="cell_input docutils container">
|
||||||
@@ -900,8 +900,8 @@ dtype: float64
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="id2">
|
<div class="section" id="id3">
|
||||||
<h3>Exercise<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h3>
|
<h3>Exercise<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h3>
|
||||||
<p>Read <a class="reference external" href="https://gea.esac.esa.int/archive/documentation/GDR2/Gaia_archive/chap_datamodel/sec_dm_external_catalogues/ssec_dm_panstarrs1_original_valid.html">the documentation of the Pan-STARRS table</a> and make note of <code class="docutils literal notranslate"><span class="pre">obj_id</span></code>, which contains the object IDs we’ll use to find the rows we want.</p>
|
<p>Read <a class="reference external" href="https://gea.esac.esa.int/archive/documentation/GDR2/Gaia_archive/chap_datamodel/sec_dm_external_catalogues/ssec_dm_panstarrs1_original_valid.html">the documentation of the Pan-STARRS table</a> and make note of <code class="docutils literal notranslate"><span class="pre">obj_id</span></code>, which contains the object IDs we’ll use to find the rows we want.</p>
|
||||||
<p>Write a query that uses each value of <code class="docutils literal notranslate"><span class="pre">original_ext_source_id</span></code> from the uploaded table to find a row in <code class="docutils literal notranslate"><span class="pre">gaiadr2.panstarrs1_original_valid</span></code> with the same value in <code class="docutils literal notranslate"><span class="pre">obj_id</span></code>, and select all columns from both tables.</p>
|
<p>Write a query that uses each value of <code class="docutils literal notranslate"><span class="pre">original_ext_source_id</span></code> from the uploaded table to find a row in <code class="docutils literal notranslate"><span class="pre">gaiadr2.panstarrs1_original_valid</span></code> with the same value in <code class="docutils literal notranslate"><span class="pre">obj_id</span></code>, and select all columns from both tables.</p>
|
||||||
<p>Suggestion: Develop and test your query incrementally. For example:</p>
|
<p>Suggestion: Develop and test your query incrementally. For example:</p>
|
||||||
@@ -1004,8 +1004,8 @@ dtype: float64
|
|||||||
</table></div></div>
|
</table></div></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="id3">
|
<div class="section" id="id4">
|
||||||
<h3>Exercise<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h3>
|
<h3>Exercise<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h3>
|
||||||
<p>Optional Challenge: Do both joins in one query.</p>
|
<p>Optional Challenge: Do both joins in one query.</p>
|
||||||
<p>There’s an <a class="reference external" href="https://github.com/smoh/Getting-started-with-Gaia/blob/master/gaia-adql-snippets.md">example here</a> you could start with.</p>
|
<p>There’s an <a class="reference external" href="https://github.com/smoh/Getting-started-with-Gaia/blob/master/gaia-adql-snippets.md">example here</a> you could start with.</p>
|
||||||
<div class="cell docutils container">
|
<div class="cell docutils container">
|
||||||
@@ -1135,8 +1135,8 @@ dtype: float64
|
|||||||
|
|
||||||
<div class='prev-next-bottom'>
|
<div class='prev-next-bottom'>
|
||||||
|
|
||||||
<a class='left-prev' id="prev-link" href="04_select.html" title="previous page">Chapter 4</a>
|
<a class='left-prev' id="prev-link" href="04_select.html" title="previous page">Transformation and Selection</a>
|
||||||
<a class='right-next' id="next-link" href="06_photo.html" title="next page">Chapter 6</a>
|
<a class='right-next' id="next-link" href="06_photo.html" title="next page">Photometry</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<footer class="footer mt-5 mt-md-0">
|
<footer class="footer mt-5 mt-md-0">
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Chapter 6 — Astronomical Data in Python</title>
|
<title>Photometry — Astronomical Data in Python</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="_static/css/index.d431a4ee1c1efae0e38bdfebc22debff.css">
|
<link rel="stylesheet" href="_static/css/index.d431a4ee1c1efae0e38bdfebc22debff.css">
|
||||||
|
|
||||||
@@ -57,8 +57,8 @@
|
|||||||
<script async="async" src="_static/sphinx-thebe.js"></script>
|
<script async="async" src="_static/sphinx-thebe.js"></script>
|
||||||
<link rel="index" title="Index" href="genindex.html" />
|
<link rel="index" title="Index" href="genindex.html" />
|
||||||
<link rel="search" title="Search" href="search.html" />
|
<link rel="search" title="Search" href="search.html" />
|
||||||
<link rel="next" title="Chapter 7" href="07_plot.html" />
|
<link rel="next" title="Visualization" href="07_plot.html" />
|
||||||
<link rel="prev" title="Chapter 5" href="05_join.html" />
|
<link rel="prev" title="Joining Tables" href="05_join.html" />
|
||||||
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<meta name="docsearch:language" content="en" />
|
<meta name="docsearch:language" content="en" />
|
||||||
@@ -109,27 +109,27 @@
|
|||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="03_motion.html">
|
<a class="reference internal" href="03_motion.html">
|
||||||
Chapter 3
|
Proper Motion
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="04_select.html">
|
<a class="reference internal" href="04_select.html">
|
||||||
Chapter 4
|
Transformation and Selection
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="05_join.html">
|
<a class="reference internal" href="05_join.html">
|
||||||
Chapter 5
|
Joining Tables
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1 current active">
|
<li class="toctree-l1 current active">
|
||||||
<a class="current reference internal" href="#">
|
<a class="current reference internal" href="#">
|
||||||
Chapter 6
|
Photometry
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="07_plot.html">
|
<a class="reference internal" href="07_plot.html">
|
||||||
Chapter 7
|
Visualization
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -319,8 +319,8 @@
|
|||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
<div class="section" id="chapter-6">
|
<div class="section" id="photometry">
|
||||||
<h1>Chapter 6<a class="headerlink" href="#chapter-6" title="Permalink to this headline">¶</a></h1>
|
<h1>Photometry<a class="headerlink" href="#photometry" title="Permalink to this headline">¶</a></h1>
|
||||||
<p>This is the sixth in a series of notebooks related to astronomy data.</p>
|
<p>This is the sixth in a series of notebooks related to astronomy data.</p>
|
||||||
<p>As a continuing example, we will replicate part of the analysis in a recent paper, “<a class="reference external" href="https://arxiv.org/abs/1805.00425">Off the beaten path: Gaia reveals GD-1 stars outside of the main stream</a>” by Adrian M. Price-Whelan and Ana Bonaca.</p>
|
<p>As a continuing example, we will replicate part of the analysis in a recent paper, “<a class="reference external" href="https://arxiv.org/abs/1805.00425">Off the beaten path: Gaia reveals GD-1 stars outside of the main stream</a>” by Adrian M. Price-Whelan and Ana Bonaca.</p>
|
||||||
<p>In the previous lesson we downloaded photometry data from Pan-STARRS, which is available from the same server we’ve been using to get Gaia data.</p>
|
<p>In the previous lesson we downloaded photometry data from Pan-STARRS, which is available from the same server we’ve been using to get Gaia data.</p>
|
||||||
@@ -1792,8 +1792,8 @@ So it is important to record the polygon as part of the data analysis pipeline.<
|
|||||||
|
|
||||||
<div class='prev-next-bottom'>
|
<div class='prev-next-bottom'>
|
||||||
|
|
||||||
<a class='left-prev' id="prev-link" href="05_join.html" title="previous page">Chapter 5</a>
|
<a class='left-prev' id="prev-link" href="05_join.html" title="previous page">Joining Tables</a>
|
||||||
<a class='right-next' id="next-link" href="07_plot.html" title="next page">Chapter 7</a>
|
<a class='right-next' id="next-link" href="07_plot.html" title="next page">Visualization</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<footer class="footer mt-5 mt-md-0">
|
<footer class="footer mt-5 mt-md-0">
|
||||||
|
|||||||
20
07_plot.html
20
07_plot.html
@@ -5,7 +5,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Chapter 7 — Astronomical Data in Python</title>
|
<title>Visualization — Astronomical Data in Python</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="_static/css/index.d431a4ee1c1efae0e38bdfebc22debff.css">
|
<link rel="stylesheet" href="_static/css/index.d431a4ee1c1efae0e38bdfebc22debff.css">
|
||||||
|
|
||||||
@@ -57,7 +57,7 @@
|
|||||||
<script async="async" src="_static/sphinx-thebe.js"></script>
|
<script async="async" src="_static/sphinx-thebe.js"></script>
|
||||||
<link rel="index" title="Index" href="genindex.html" />
|
<link rel="index" title="Index" href="genindex.html" />
|
||||||
<link rel="search" title="Search" href="search.html" />
|
<link rel="search" title="Search" href="search.html" />
|
||||||
<link rel="prev" title="Chapter 6" href="06_photo.html" />
|
<link rel="prev" title="Photometry" href="06_photo.html" />
|
||||||
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<meta name="docsearch:language" content="en" />
|
<meta name="docsearch:language" content="en" />
|
||||||
@@ -108,27 +108,27 @@
|
|||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="03_motion.html">
|
<a class="reference internal" href="03_motion.html">
|
||||||
Chapter 3
|
Proper Motion
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="04_select.html">
|
<a class="reference internal" href="04_select.html">
|
||||||
Chapter 4
|
Transformation and Selection
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="05_join.html">
|
<a class="reference internal" href="05_join.html">
|
||||||
Chapter 5
|
Joining Tables
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="06_photo.html">
|
<a class="reference internal" href="06_photo.html">
|
||||||
Chapter 6
|
Photometry
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1 current active">
|
<li class="toctree-l1 current active">
|
||||||
<a class="current reference internal" href="#">
|
<a class="current reference internal" href="#">
|
||||||
Chapter 7
|
Visualization
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -328,8 +328,8 @@
|
|||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
<div class="section" id="chapter-7">
|
<div class="section" id="visualization">
|
||||||
<h1>Chapter 7<a class="headerlink" href="#chapter-7" title="Permalink to this headline">¶</a></h1>
|
<h1>Visualization<a class="headerlink" href="#visualization" title="Permalink to this headline">¶</a></h1>
|
||||||
<p>This is the seventh in a series of notebooks related to astronomy data.</p>
|
<p>This is the seventh in a series of notebooks related to astronomy data.</p>
|
||||||
<p>As a continuing example, we will replicate part of the analysis in a recent paper, “<a class="reference external" href="https://arxiv.org/abs/1805.00425">Off the beaten path: Gaia reveals GD-1 stars outside of the main stream</a>” by Adrian M. Price-Whelan and Ana Bonaca.</p>
|
<p>As a continuing example, we will replicate part of the analysis in a recent paper, “<a class="reference external" href="https://arxiv.org/abs/1805.00425">Off the beaten path: Gaia reveals GD-1 stars outside of the main stream</a>” by Adrian M. Price-Whelan and Ana Bonaca.</p>
|
||||||
<p>In the previous notebook we selected photometry data from Pan-STARRS and used it to identify stars we think are likely to be in GD-1</p>
|
<p>In the previous notebook we selected photometry data from Pan-STARRS and used it to identify stars we think are likely to be in GD-1</p>
|
||||||
@@ -1019,7 +1019,7 @@
|
|||||||
|
|
||||||
<div class='prev-next-bottom'>
|
<div class='prev-next-bottom'>
|
||||||
|
|
||||||
<a class='left-prev' id="prev-link" href="06_photo.html" title="previous page">Chapter 6</a>
|
<a class='left-prev' id="prev-link" href="06_photo.html" title="previous page">Photometry</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<footer class="footer mt-5 mt-md-0">
|
<footer class="footer mt-5 mt-md-0">
|
||||||
|
|||||||
10
README.html
10
README.html
@@ -108,27 +108,27 @@
|
|||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="03_motion.html">
|
<a class="reference internal" href="03_motion.html">
|
||||||
Chapter 3
|
Proper Motion
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="04_select.html">
|
<a class="reference internal" href="04_select.html">
|
||||||
Chapter 4
|
Transformation and Selection
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="05_join.html">
|
<a class="reference internal" href="05_join.html">
|
||||||
Chapter 5
|
Joining Tables
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="06_photo.html">
|
<a class="reference internal" href="06_photo.html">
|
||||||
Chapter 6
|
Photometry
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="07_plot.html">
|
<a class="reference internal" href="07_plot.html">
|
||||||
Chapter 7
|
Visualization
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
"# Chapter 3\n",
|
"# Proper Motion\n",
|
||||||
"\n",
|
"\n",
|
||||||
"This is the third in a series of notebooks related to astronomy data.\n",
|
"This is the third in a series of notebooks related to astronomy data.\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
"# Chapter 4\n",
|
"# Transformation and Selection\n",
|
||||||
"\n",
|
"\n",
|
||||||
"This is the fourth in a series of notebooks related to astronomy data.\n",
|
"This is the fourth in a series of notebooks related to astronomy data.\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
"# Chapter 5\n",
|
"# Joining Tables\n",
|
||||||
"\n",
|
"\n",
|
||||||
"This is the fifth in a series of notebooks related to astronomy data.\n",
|
"This is the fifth in a series of notebooks related to astronomy data.\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
"# Chapter 6\n",
|
"# Photometry\n",
|
||||||
"\n",
|
"\n",
|
||||||
"This is the sixth in a series of notebooks related to astronomy data.\n",
|
"This is the sixth in a series of notebooks related to astronomy data.\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
"# Chapter 7\n",
|
"# Visualization\n",
|
||||||
"\n",
|
"\n",
|
||||||
"This is the seventh in a series of notebooks related to astronomy data.\n",
|
"This is the seventh in a series of notebooks related to astronomy data.\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
|||||||
@@ -107,27 +107,27 @@
|
|||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="03_motion.html">
|
<a class="reference internal" href="03_motion.html">
|
||||||
Chapter 3
|
Proper Motion
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="04_select.html">
|
<a class="reference internal" href="04_select.html">
|
||||||
Chapter 4
|
Transformation and Selection
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="05_join.html">
|
<a class="reference internal" href="05_join.html">
|
||||||
Chapter 5
|
Joining Tables
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="06_photo.html">
|
<a class="reference internal" href="06_photo.html">
|
||||||
Chapter 6
|
Photometry
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="07_plot.html">
|
<a class="reference internal" href="07_plot.html">
|
||||||
Chapter 7
|
Visualization
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
BIN
objects.inv
BIN
objects.inv
Binary file not shown.
10
search.html
10
search.html
@@ -112,27 +112,27 @@
|
|||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="03_motion.html">
|
<a class="reference internal" href="03_motion.html">
|
||||||
Chapter 3
|
Proper Motion
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="04_select.html">
|
<a class="reference internal" href="04_select.html">
|
||||||
Chapter 4
|
Transformation and Selection
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="05_join.html">
|
<a class="reference internal" href="05_join.html">
|
||||||
Chapter 5
|
Joining Tables
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="06_photo.html">
|
<a class="reference internal" href="06_photo.html">
|
||||||
Chapter 6
|
Photometry
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1">
|
<li class="toctree-l1">
|
||||||
<a class="reference internal" href="07_plot.html">
|
<a class="reference internal" href="07_plot.html">
|
||||||
Chapter 7
|
Visualization
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user