This is the repo for the PHYS 132 lab.
- 1. Introduction
- 2. Instructions for Students with No Python
- 3. Instructions for Students with Python
This is an experiment for the PHYS 132 lab at Simon Fraser University.
I am going to provide some Jupyter notebooks to do the data analysis in the labs.
Below you find the instructions to run one of the Jupyter notebook on your laptop/computer or what you are actually using. If you don't want to install Python on your laptop (it may take a while to install it), just use the instructions for students with no python. This repository is integrated in Binder.
At the moment click the Binder launch icon at the top of this README. You can run the scripts online, although you cannot use your own data at the moment.
If you want to install Python on your computer you are welcome to do so. If you are majoring in Physics, the chances to come across Python in your career will be very high. It is the standard in data analysis and it's an open source programming language. The documentation is also extremely rich.
If you have Windows, then just follow the instructions for Students with no Python. I will try to integrate this when I have some more time.
If you have a Unix-based laptop, running Mac OS or a Linux distro, please follow this part.
First of all you need to install a Python distribution on your computer. I suggest to install Anaconda. See this page to install Anaconda.
Open an accound on Github and set it up on your terminal. Please follow these instructions.
Now you are ready to go! To install the software contained in this repo, just run this on your terminal:
git clone https://github.com/alexzucca90/PHYS132.git
cd PHYS132
Now you are in the directory for this course. From terminal, run the following command:
jupyter lab
You are going to be redirected to your browser on the following page
Now you can run the notebooks. See next section for an Examples
Click on the Lab2 directory
and then click on the warmup.ipynb notebook as below:
Now you can edit the warmup acticity notebook!
THIS IS STILL WORK IN PROGRESS
Repo created and maitained by Alex Zucca.