Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Jan 17, 2024
0 parents commit 89c9747
Show file tree
Hide file tree
Showing 361 changed files with 122,600 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .buildinfo
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: 28cc94bac9d8278c40aef73977aaf6dd
tags: 645f666f9bcd5a90fca523b33c5a78b7
Empty file added .nojekyll
Empty file.
665 changes: 665 additions & 0 deletions 01-python/basics.html

Large diffs are not rendered by default.

603 changes: 603 additions & 0 deletions 01-python/functions-classes.html

Large diffs are not rendered by default.

664 changes: 664 additions & 0 deletions 01-python/installing.html

Large diffs are not rendered by default.

603 changes: 603 additions & 0 deletions 01-python/misc.html

Large diffs are not rendered by default.

946 changes: 946 additions & 0 deletions 01-python/python-io.html

Large diffs are not rendered by default.

579 changes: 579 additions & 0 deletions 01-python/python.html

Large diffs are not rendered by default.

708 changes: 708 additions & 0 deletions 01-python/w1-jupyter.html

Large diffs are not rendered by default.

1,397 changes: 1,397 additions & 0 deletions 01-python/w1-python-datatypes.html

Large diffs are not rendered by default.

1,216 changes: 1,216 additions & 0 deletions 01-python/w2-python-advanced-datatypes.html

Large diffs are not rendered by default.

898 changes: 898 additions & 0 deletions 01-python/w2-python-control-flow.html

Large diffs are not rendered by default.

1,501 changes: 1,501 additions & 0 deletions 01-python/w2-python-exercises.html

Large diffs are not rendered by default.

742 changes: 742 additions & 0 deletions 01-python/w3-python-exceptions.html

Large diffs are not rendered by default.

977 changes: 977 additions & 0 deletions 01-python/w3-python-exercises.html

Large diffs are not rendered by default.

986 changes: 986 additions & 0 deletions 01-python/w3-python-functions.html

Large diffs are not rendered by default.

1,383 changes: 1,383 additions & 0 deletions 01-python/w4-python-classes.html

Large diffs are not rendered by default.

1,029 changes: 1,029 additions & 0 deletions 01-python/w4-python-exercises.html

Large diffs are not rendered by default.

788 changes: 788 additions & 0 deletions 01-python/w4-python-modules.html

Large diffs are not rendered by default.

756 changes: 756 additions & 0 deletions 01-python/w5-python-more-examples.html

Large diffs are not rendered by default.

1,784 changes: 1,784 additions & 0 deletions 02-numpy/numpy-basics.html

Large diffs are not rendered by default.

769 changes: 769 additions & 0 deletions 02-numpy/numpy-exercises.html

Large diffs are not rendered by default.

601 changes: 601 additions & 0 deletions 02-numpy/numpy.html

Large diffs are not rendered by default.

722 changes: 722 additions & 0 deletions 03-practices/git-single.html

Large diffs are not rendered by default.

675 changes: 675 additions & 0 deletions 03-practices/python-style.html

Large diffs are not rendered by default.

750 changes: 750 additions & 0 deletions 04-matplotlib/ipyvolume-example.html

Large diffs are not rendered by default.

1,361 changes: 1,361 additions & 0 deletions 04-matplotlib/matplotlib-basics.html

Large diffs are not rendered by default.

871 changes: 871 additions & 0 deletions 04-matplotlib/matplotlib-exercises.html

Large diffs are not rendered by default.

1,662 changes: 1,662 additions & 0 deletions 04-matplotlib/matplotlib-interactive-backend.html

Large diffs are not rendered by default.

601 changes: 601 additions & 0 deletions 04-matplotlib/matplotlib.html

Large diffs are not rendered by default.

2,230 changes: 2,230 additions & 0 deletions 05-scipy/scipy-basics.html

Large diffs are not rendered by default.

918 changes: 918 additions & 0 deletions 05-scipy/scipy-exercises-2.html

Large diffs are not rendered by default.

901 changes: 901 additions & 0 deletions 05-scipy/scipy-exercises.html

Large diffs are not rendered by default.

601 changes: 601 additions & 0 deletions 05-scipy/scipy.html

Large diffs are not rendered by default.

1,801 changes: 1,801 additions & 0 deletions 06-sympy/sympy-examples.html

Large diffs are not rendered by default.

787 changes: 787 additions & 0 deletions 06-sympy/sympy-exercises.html

Large diffs are not rendered by default.

603 changes: 603 additions & 0 deletions 06-sympy/sympy.html

Large diffs are not rendered by default.

1,271 changes: 1,271 additions & 0 deletions 07-pandas/pandas-babynames.html

Large diffs are not rendered by default.

840 changes: 840 additions & 0 deletions 07-pandas/pandas-experiments.html

Large diffs are not rendered by default.

2,122 changes: 2,122 additions & 0 deletions 07-pandas/pandas-intro.html

Large diffs are not rendered by default.

788 changes: 788 additions & 0 deletions 07-pandas/pandas-worldbank.html

Large diffs are not rendered by default.

654 changes: 654 additions & 0 deletions 09-packages/python-arguments.html

Large diffs are not rendered by default.

701 changes: 701 additions & 0 deletions 09-packages/python-modules.html

Large diffs are not rendered by default.

646 changes: 646 additions & 0 deletions 09-packages/python-more-modules.html

Large diffs are not rendered by default.

764 changes: 764 additions & 0 deletions 09-packages/python-packages.html

Large diffs are not rendered by default.

677 changes: 677 additions & 0 deletions 09-packages/python-tools.html

Large diffs are not rendered by default.

687 changes: 687 additions & 0 deletions 10-testing/more-pytest.html

Large diffs are not rendered by default.

728 changes: 728 additions & 0 deletions 10-testing/pytest.html

Large diffs are not rendered by default.

705 changes: 705 additions & 0 deletions 10-testing/real-world-example.html

Large diffs are not rendered by default.

680 changes: 680 additions & 0 deletions 10-testing/testing.html

Large diffs are not rendered by default.

839 changes: 839 additions & 0 deletions 11-machine-learning/gradient-descent.html

Large diffs are not rendered by default.

1,012 changes: 1,012 additions & 0 deletions 11-machine-learning/keras-clustering.html

Large diffs are not rendered by default.

1,288 changes: 1,288 additions & 0 deletions 11-machine-learning/keras-mnist.html

Large diffs are not rendered by default.

798 changes: 798 additions & 0 deletions 11-machine-learning/machine-learning-basics.html

Large diffs are not rendered by default.

694 changes: 694 additions & 0 deletions 11-machine-learning/machine-learning-libraries.html

Large diffs are not rendered by default.

579 changes: 579 additions & 0 deletions 11-machine-learning/machine-learning.html

Large diffs are not rendered by default.

767 changes: 767 additions & 0 deletions 11-machine-learning/neural-net-basics.html

Large diffs are not rendered by default.

694 changes: 694 additions & 0 deletions 11-machine-learning/neural-net-derivation.html

Large diffs are not rendered by default.

720 changes: 720 additions & 0 deletions 11-machine-learning/neural-net-hidden.html

Large diffs are not rendered by default.

730 changes: 730 additions & 0 deletions 11-machine-learning/neural-net-improvements.html

Large diffs are not rendered by default.

717 changes: 717 additions & 0 deletions 12-extensions/extensions-example.html

Large diffs are not rendered by default.

683 changes: 683 additions & 0 deletions 12-extensions/extensions-overview.html

Large diffs are not rendered by default.

677 changes: 677 additions & 0 deletions Introduction.html

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/anatomy1.png
Binary file added _images/distributed_version_control.png
Binary file added _images/github-clone.png
Binary file added _images/github-copy-ssh.png
Binary file added _images/github-create.png
Binary file added _images/github-fork.png
Binary file added _images/github-new.png
Binary file added _images/github-pr.png
Binary file added _images/github-pr2.png
Binary file added _images/github-workflow.png
Binary file added _images/nn_fig.png
Binary file added _images/nn_fig2.png
Binary file added _images/nn_fig_hidden.png
Binary file added _images/orbit_setup.png
Binary file added _images/python.png
Binary file added _images/row_column_major.png
Binary file added _images/sigmoid.png
Binary file added _images/slicing.png
Binary file added _images/test.png
51 changes: 51 additions & 0 deletions _sources/01-python/basics.md
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](http://www.greenteapress.com/thinkpython/)

* [Dive into Python](http://www.diveintopython.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](http://pyaos.johnny-lin.com/)

* 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/)


5 changes: 5 additions & 0 deletions _sources/01-python/functions-classes.md
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.
57 changes: 57 additions & 0 deletions _sources/01-python/installing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Introduction

This class will introduce the basics of the python programming
language and the libraries used for scientific computing.


## 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.

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")
```


## Following along in class

All of the class notes are hosted as Jupyter notebooks on github:

https://github.com/sbu-python-class/python-science

these are rendered by [Jupyter
book](https://jupyterbook.org/intro.html) into a webpage that allows
you to see the rendered notebooks as well as launch the notebooks in
the cloud:

http://sbu-python-class.github.io/python-science/Introduction.html

````{note}
Some notebooks use [MyST Markdown](https://jupyterbook.org/en/stable/content/myst.html) to
allow for more styling. To see these styles, you need to install `jupyterlab-myst`, which
can be done via:
```
pip install jupyterlab_myst
```
````

5 changes: 5 additions & 0 deletions _sources/01-python/misc.md
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.
Loading

0 comments on commit 89c9747

Please sign in to comment.