Syllabus
Available at https://homepages.uc.edu/~schreihf/uchenry/post/computational-physics/
- Lectures via WebEx
- Assignments available on Blackboard https://canopy.uc.edu
- Class files on GitHub https://github.com/henryiii/compclass
- Lecture files are interactive, and downloadable
- Project assignments are also notebooks
Computing
We will be using Python 3.6 and common scientific packages. Two install choices:
- OSC OnDemand
- Local install with the Anaconda Scientific Python Distribution
OSC OnDemand
- Go to https://ondemand.osc.edu
- Log in (instructions posted on Blackboard)
- At the top, click
Interactive Apps
->Jupyter Notebook
- The default (minimal) settings are perfect
- Our project is PES0765
- Click
Launch
The browser based notebook should start in 1-3 minutes.
Local install
- Download Anaconda from https://anaconda.com
- Install the latest Python 3 version (3.6 at time of writing, 3.7 is still being worked on in Anaconda)
- Either say 'yes' to the question about adding to your path, or add it manually
- Launch a Jupyter notebook from the Anaconda Navigator
Note
Why not use official Python from python.org or my package manager?
The official builds are great, but you'll have to install all the packages yourself. Also, if it is a Python that is built into your system, you could break things by changing your packages. For now, using the Anaconda build provides you with everything you need, is safe for your system, and some packages are easier to install. There are special cases outside of this class where you might not want Anaconda Python, so talk to me if you think that might be the case.
Topics for later
Most courses spend a little (too little) time on these topics just to get started using Python. We are going to skip them for now, then return to them later in the course when we can focus our attention properly on them:
- Using the shell (Bash)
- Manipulating your path
- Installing Python packages
- Using git