Javier Sanchez, David Kirkby, Phil Marshall, July 2016
Basic tutorial on how to use Jupyter notebooks for Astrophysics/Cosmology.
Chose one of the following methods to access the tutorial:
-
View the tutorial notebook on GitHub. This only requires a browser but does not allow you to edit and run code.
-
Download the necessary files from https://goo.gl/3GYFTQ then expand the archive (zip or tar file):
tar -zxf v0.1.tar.gzorunzip v0.1.zipcd JupyterTutorial ; jupyter notebook &- The notebook should open in a nearby browser window: click on
TutorialJupyter.ipynbto launch the notebook.
-
Clone the repository from github (requires that you have
gitinstalled):git clone https://github.com/fjaviersanchez/JupyterTutorial.gitcd JupyterTutorial ; jupyter notebook &- The notebook should open in a nearby browser window: click on
TutorialJupyter.ipynbto launch the notebook.
You'll need to install all the packages listed in [requirements.txt](https://github.com/fjaviersanchez/JupyterTutorial/blob/master/requirements.txt):
pip install -r requirements.txtThese are:
seaborn
randomfield
bokeh
speclite
sklearn
All of which are very useful! -- The tutorial also depends on astropy but this is included in anaconda. Also, it is optional but encouraged to install healpy