From 2d6feed0bdd1689e51a515ea07acdc83934b0085 Mon Sep 17 00:00:00 2001 From: germanhydrogen Date: Thu, 20 Nov 2025 23:33:53 +0100 Subject: [PATCH] Aligned the phi symbol in the text to the symbol used in the plots --- episodes/02-coords.md | 14 +++++++------- episodes/03-transform.md | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/episodes/02-coords.md b/episodes/02-coords.md index 05adcd92..b7f4d9b0 100644 --- a/episodes/02-coords.md +++ b/episodes/02-coords.md @@ -309,9 +309,9 @@ to GD-1: The axes of this figure are defined so the x-axis is aligned with the stars in GD-1, and the y-axis is perpendicular. -- Along the x-axis (φ1) the figure extends from -100 to 20 degrees. +- Along the x-axis ($\phi_1$) the figure extends from -100 to 20 degrees. -- Along the y-axis (φ2) the figure extends from about -8 to 4 degrees. +- Along the y-axis ($\phi_2$) the figure extends from about -8 to 4 degrees. Ideally, we would select all stars from this rectangle, but there are more than 10 million of them. This would be difficult to work with, and as @@ -320,7 +320,7 @@ single query. While we are developing and testing code, it will be faster to wor with a smaller dataset. So we will start by selecting stars in a smaller rectangle near the -center of GD-1, from -55 to -45 degrees φ1 and -8 to 4 degrees φ2. +center of GD-1, from -55 to -45 degrees $\phi_1$ and -8 to 4 degrees $\phi_2$. First we will learn how to represent these coordinates with Astropy. ## Transforming coordinates @@ -392,7 +392,7 @@ which is "a Heliocentric spherical coordinate system defined by the orbit of the GD-1 stream". In this coordinate system, one axis is defined along the direction of the stream (the x-axis in Figure 1) and one axis is defined perpendicular to the direction of the stream (the y-axis in Figure 1). -These are called the φ1 and φ2 coordinates, respectively. +These are called the $\phi_1$ and $\phi_2$ coordinates, respectively. ```python from gala.coordinates import GD1Koposov10 @@ -457,7 +457,7 @@ rectangle that encompasses a small part of GD-1. This is easiest to define in GD-1 coordinates. The following variables define the boundaries of the rectangle in -φ1 and φ2. +$\phi_1$ and $\phi_2$. ```python phi1_min = -55 * u.degree @@ -482,8 +482,8 @@ def make_rectangle(x1, x2, y1, y2): return xs, ys ``` -The return value is a tuple containing a list of coordinates in φ1 -followed by a list of coordinates in φ2. +The return value is a tuple containing a list of coordinates in $\phi_1$ +followed by a list of coordinates in $\phi_2$. ```python phi1_rect, phi2_rect = make_rectangle( diff --git a/episodes/03-transform.md b/episodes/03-transform.md index afb85d8e..6033704c 100644 --- a/episodes/03-transform.md +++ b/episodes/03-transform.md @@ -348,10 +348,10 @@ which is useful for two reasons: - By transforming the coordinates, we can identify stars that are likely to be in GD-1 by selecting stars near the centerline of the - stream, where φ2 is close to 0. + stream, where $\phi_2$ is close to 0. - By transforming the proper motions, we can identify stars with - non-zero proper motion along the φ1 axis, which are likely to be part of GD-1. + non-zero proper motion along the $\phi_1$ axis, which are likely to be part of GD-1. To do the transformation, we will put the results into a `SkyCoord` object. In a previous episode, we created a `SkyCoord` object like