@@ -63,17 +63,21 @@ Whether you are working from a new notebook or coming back from a checkpoint,
6363reloading the data will save you from having to run the query again.
6464
6565If you are starting this episode here or starting this episode in a new notebook,
66- you will need to run the following lines of code.
66+ you will need to run the following lines of code. The last two lines of the import
67+ statements assume your notebook is being run in the ` student_download ` directory.
68+ If you are running it from a different directory you will need to add the path using
69+ ` sys.path.append(<path to student download>) ` where ` <path to student_download> ` is
70+ the path to your ` student_download ` directory ending with ` student_download ` .
6771
6872This imports previously imported functions:
6973
7074``` python
7175import astropy.units as u
7276from astropy.coordinates import SkyCoord
73- from gala.coordinates import GD1Koposov10
7477from astropy.table import Table
7578
7679from episode_functions import *
80+ from gd1 import GD1Koposov10
7781```
7882
7983The following code loads in the data (instructions for downloading data can be
@@ -430,10 +434,11 @@ That might seem like a strange thing to do, but here is the motivation:
430434With this preparation, we can use ` reflex_correct ` from Gala
431435([ documentation
432436here] ( https://gala-astro.readthedocs.io/en/latest/api/gala.coordinates.reflex_correct.html ) )
433- to correct for the motion of the solar system.
437+ to correct for the motion of the solar system which we have included as a stand alone file
438+ in the ` student_download ` .
434439
435440``` python
436- from gala.coordinates import reflex_correct
441+ from reflex import reflex_correct
437442
438443skycoord_gd1 = reflex_correct(transformed)
439444```
0 commit comments