Skip to content

Commit 235e2ff

Browse files
authored
Merge pull request #251 from datacarpentry/typos
assorted typos
2 parents 86f3a07 + 32ffbe6 commit 235e2ff

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed

episodes/01-query.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Cookbook](https://www.gaia.ac.uk/data/gaia-data-release-1/adql-cookbook).
6464
## Using Jupyter
6565

6666
If you have not worked with Jupyter notebooks before, you might start
67-
with [the tutorial on from Jupyter.org called "Try Classic
67+
with [the tutorial from Jupyter.org called "Try Classic
6868
Notebook"](https://jupyter.org/try), or [this tutorial from
6969
DataQuest](https://www.dataquest.io/blog/jupyter-notebook-tutorial/).
7070

episodes/02-coords.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ phi2_max = 4 * u.degree
469469
Throughout this lesson we are going to be defining a rectangle often.
470470
Rather than copy and paste multiple lines of code, we will write a function to build the rectangle for us.
471471
By having the code contained in a single location, we can easily fix bugs or update our implementation as needed.
472-
By choosing an explicit function name our code is also self documenting, meaning its easy for us to
472+
By choosing an explicit function name our code is also self documenting, meaning it's easy for us to
473473
understand that we are building a rectangle when we call this function.
474474

475475
To create a rectangle, we will use the following function, which takes the lower and upper bounds as parameters and returns a list of x and y coordinates of the corners of a rectangle starting with the lower left corner and working clockwise.
@@ -490,7 +490,7 @@ phi1_rect, phi2_rect = make_rectangle(
490490
phi1_min, phi1_max, phi2_min, phi2_max)
491491
```
492492

493-
`phi1_rect` and `phi2_rect` contains the coordinates of the corners of
493+
`phi1_rect` and `phi2_rect` contain the coordinates of the corners of
494494
a rectangle in the GD-1 frame.
495495

496496
While it is easier to visualize the regions we want to define in the GD-1 frame, the coordinates in the Gaia catalog are in the ICRS frame.

episodes/03-transform.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ two data types. We will choose to use Pandas `DataFrame`, for two reasons:
578578

579579
However, compared to an Astropy `Table`, Pandas has one big drawback:
580580
it does not keep the metadata associated with the table, including the
581-
units for the columns. Nevertheless, we think its a useful data type
581+
units for the columns. Nevertheless, we think it's a useful data type
582582
to be familiar with.
583583

584584

episodes/04-motion.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ exercises: 15
1313

1414
:::::::::::::::::::::::::::::::::::::::: questions
1515

16-
- How do efficiently explore our data and identify appropriate filters to produce a clean sample (in this case of GD-1 stars)?
16+
- How to efficiently explore our data and identify appropriate filters to produce a clean sample (in this case of GD-1 stars)?
1717

1818
::::::::::::::::::::::::::::::::::::::::::::::::::
1919

@@ -503,7 +503,7 @@ To clean up the plot a little bit we can add two new Matplotlib commands:
503503
sets the `fontsize` to be `medium`, a little smaller than the default `large`.
504504

505505
In an example like this, where `x` and `y` represent coordinates in
506-
space, equal axes ensures that the distance between points is
506+
space, equal axes ensure that the distance between points is
507507
represented accurately. Since we are now constraining the relative proportions
508508
of our axes, the data may not fill the entire figure.
509509

episodes/05-select.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ In the following exercise, we will identify a rectangle that encompasses the maj
199199

200200
Looking at the proper motion of the stars we identified along the centerline of GD-1, in the ICRS reference frame
201201
define a rectangle (`pmra_min`, `pmra_max`, `pmdec_min`, and `pmdec_max`)
202-
that encompass the proper motion of the majority of the stars near the centerline of GD-1 without including to much contamination from other stars.
202+
that encompass the proper motion of the majority of the stars near the centerline of GD-1 without including too much contamination from other stars.
203203

204204
::::::::::::::: solution
205205

@@ -518,7 +518,7 @@ plt.ylabel('dec (degree ICRS)');
518518
![](fig/05-select_files/05-select_66_0.png){alt='Scatter plot of right ascension and declination of selected stars in ICRS frame.'}
519519

520520
This plot shows why it was useful to transform these coordinates to the GD-1 frame. In
521-
ICRS, it is more difficult to identity the stars near the centerline
521+
ICRS, it is more difficult to identify the stars near the centerline
522522
of GD-1.
523523

524524
We can use our `make_dataframe` function from episode 3 to transform the results back

episodes/06-join.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ that for each candidate star we have identified exactly one source in
893893
Pan-STARRS that is likely to be the same star.
894894

895895
To check whether there are any values other than `1`, we can convert
896-
this column to a Pandas `Series` and use `describe`, which we saw in
896+
this column to a Pandas `Series` and use `describe`, which we saw
897897
in episode 3.
898898

899899
```python

episodes/07-photo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ this polygon. But first we need to do some data cleaning.
492492

493493
## Save the polygon
494494

495-
[Reproducibile
495+
[Reproducible
496496
research](https://en.wikipedia.org/wiki/Reproducibility#Reproducible_research)
497497
is "the idea that ... the full computational environment used to
498498
produce the results in the paper such as the code, data, etc. can be

episodes/08-plot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ ax.set_ylim(-10, 10)
719719
![](fig/08-plot_files/08-poly_example.png){alt='An orange rectangle at the coordinates used to select stars based on proper motion.'}
720720

721721
We can now call our plot\_proper\_motion function to plot the
722-
proper motion for each star, and the add a shaded `Polygon` to show the
722+
proper motion for each star, and then add a shaded `Polygon` to show the
723723
region we selected.
724724

725725
```python

0 commit comments

Comments
 (0)