You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>In this tutorial, we will explore how the <code>astropy.coordinates</code> package can be used to transform astronomical coordinates between different coordinate systems or frames. You may find it helpful to keep <a href="http://docs.astropy.org/en/stable/coordinates/index.html">the Astropy documentation for the coordinates package</a> open alongside this tutorial for reference or additional reading. In the text below, you may also see some links that look like (<a href="http://docs.astropy.org/en/stable/coordinates/index.html">docs</a>). These links will take you to parts of the documentation that are directly relevant to the cells from which they link.</p>
14591
14591
<p><em>Note: This is the 2nd tutorial in a series of tutorials about astropy.coordinates. If you are new to astropy.coordinates, you may want to start from the beginning or an earlier tutorial.</em></p>
<p>See the previous tutorial <a href="1-Coordinates-Intro">Astronomical Coordinates 1 - Getting Started</a> for more examples of this.</p>
14704
+
<p>See the previous tutorial <a href="1_Coordinates-Intro">Astronomical Coordinates 1 - Getting Started</a> for more examples of this.</p>
14705
14705
<h2 id="Coordinate-Representations">Coordinate Representations<a class="anchor-link" href="#Coordinate-Representations">¶</a></h2><p>In the previous tutorial, we only worked with coordinate data in spherical representations (longitude/latitude), but <code>astropy.coordinates</code> also supports other coordinate representations like Cartesian, cylindrical, etc. (<a href="https://docs.astropy.org/en/stable/coordinates/skycoord.html#astropy-skycoord-representations">docs</a>). To retrieve the coordinate data in a different representation, we can use the <code>SkyCoord.represent_as()</code> method. This method either takes a string name of the desired representation, for example:</p>
0 commit comments