-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 72be124a7399fa51e3aa7cd678db4808 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Python Basics | ||
|
||
The following references give helpful introductions to python: | ||
|
||
* The [official python tutorial](http://docs.python.org/3/tutorial/) | ||
|
||
* The [software carpentry python lessons](https://swcarpentry.github.io/python-novice-inflammation/) | ||
|
||
|
||
## Practicing | ||
|
||
Some resources for practicing on your own: | ||
|
||
* [Code Academy python rack](http://www.codecademy.com/tracks/python): | ||
step-by-step tutorial through the basics of the language | ||
|
||
* [Project Euler](https://projecteuler.net/): | ||
a set of increasingly complex programming tasks to try out with | ||
python | ||
|
||
|
||
## Online books: | ||
|
||
* [Think python](https://greenteapress.com/wp/think-python-3rd-edition/) | ||
|
||
* [Dive into Python](https://diveintopython3.net/) | ||
|
||
* [SciPy Lecture Notes](http://scipy-lectures.github.io/) | ||
|
||
* [Google's python class](https://developers.google.com/edu/python/) | ||
|
||
* more resources can be found at: http://pythonbooks.revolunet.com/ | ||
|
||
|
||
## Domain-specific libraries | ||
|
||
* Astronomy: [AstroPy](http://astropy.org) | ||
|
||
* Atmospheric sciences: [PyAOS](https://pyaos.github.io/) | ||
|
||
* Biology: [Biopython](http://biopython.org/) | ||
|
||
* Ocean and marine sciences: [OceanPython](http://oceanpython.org/) | ||
|
||
* Psychology resources: [PyschoPy](http://www.psychopy.org/) | ||
|
||
* Quantum physics: [QuTiP](http://qutip.org/) | ||
|
||
* Solar physics: [SunPy](http://sunpy.org/) | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Functions and Classes | ||
|
||
Functions and classes are the building blocks of complex programs. | ||
These allow you to organize your code into logical units that can | ||
reused. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Introduction | ||
|
||
This class will introduce the basics of the python programming | ||
language and the libraries used for scientific computing. | ||
|
||
```{tip} | ||
To get the most from this class, you should work on your own laptop. That | ||
way you practice using python and the scientific libraries on the in the | ||
environment you are most comfortable with. | ||
``` | ||
|
||
## Getting python | ||
|
||
You will want to install python and the associated libraries on your | ||
laptop that you can bring to the seminar. | ||
|
||
On Linux machines, you probably already have python and you can get | ||
the needed libraries through your system package manager. | ||
|
||
For Mac and Windows, I recommend the free Anaconda distribution: | ||
|
||
https://www.anaconda.com/products/individual | ||
|
||
This will install everything that you need. | ||
|
||
```{tip} | ||
If you have trouble getting a local install working, most of the class | ||
material will work automatically in the cloud, either on | ||
[binder](https://mybinder.org/) or [google | ||
colab](https://research.google.com/colaboratory/). | ||
``` | ||
|
||
If you have python successfully installed, you should be able to start | ||
the python interpreter at the command line as: `python`. A shell will | ||
come up, and you can try out your first program: | ||
|
||
``` | ||
print("hello, world") | ||
``` | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Miscellaneous | ||
|
||
There are a lot of topics that we didn't cover, as well as a lot of | ||
the python standard library that we won't address. Here we introduce | ||
a few more concepts. |