Authors: Stephen Taylor, Sarah Vigeland, Aaron Johnson
Please send questions about this tutorial to aaron.johnson (at) nanograv.org
If you are interested in working through this notebook, but do not want to install the software, we have prepared a related Google Colab notebook: https://colab.research.google.com/drive/1xft6F9nyoEHUVn1LbW-0qgXiiKDJuR3X#scrollTo=7kVh83a8w36s
By copying this notebook, you can install the software to your own Google account and run the software without installation on your computer.
-
Install Miniconda
- Either...download and install the relevant Miniconda file from here: https://docs.conda.io/en/latest/miniconda.html
- OR... use Terminal command line installation
-
Download the right one for your architecture
- Mac:
wget -q https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
- Linux:
wget -q https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
- Windows (untested):
wget -q https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe
- Mac:
-
bash Miniconda3-latest-Linux-x86_64.sh -b
-
rm Miniconda3-latest-Linux-x86_64.sh
(careful with “rm”)
-
-
To install a new environment from a yml file:
conda env create --file environment.yml
-
This will create a conda environment that can be activated by
conda activate pta_software
-
After activating install
nb_conda
byconda install nb_conda
-
Open a
jupyter notebook
-
Set the Kernel
- when opening a new notebook: click
New
and selectPython [conda env:pta_software]
- when opening an existing notebook (like this tutorial): click
Kernel
-->Change Kernel
-->Python [conda env:pta_software]
- when opening a new notebook: click