Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codespellrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[codespell]
skip = .git,*.bib,*.ps,*.js,*.pdf,_build,*.fodp,*.fods
skip = .git,*.bib,*.ps,*.js,*.pdf,_build,*.fodp,*.fods,other,*.sty
ignore-words = .codespell-ignore-words


33 changes: 33 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: codespell

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
codespell:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6

- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: '3.14'
cache: "pip"

- name: Install codespell
run: pip install codespell jupyterlab nbconvert

- name: Preprocess notebooks
run: for i in $(find . -name "*.ipynb"); do jupyter nbconvert --clear-output --inplace $i; done

- name: Run codespell
run: |
codespell content

2 changes: 1 addition & 1 deletion content/01-python/w1-python-datatypes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@
"https://docs.python.org/3/reference/expressions.html#operator-precedence\n",
" \n",
"in order of precedence:\n",
"* quantites in `()`\n",
"* quantities in `()`\n",
"* slicing, calls, subscripts\n",
"* exponentiation (`**`)\n",
"* `+x`, `-x`, `~x`\n",
Expand Down
2 changes: 1 addition & 1 deletion content/09-packages/python-packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The python packaging system is constantly evolving, and the current recommendati
of tools is list here: https://packaging.python.org/en/latest/guides/tool-recommendations/
```

![xkcd](python_environment.png)
![xkcd comic on python packaging chaos](python_environment.png)

(from https://xkcd.com)

Expand Down
2 changes: 1 addition & 1 deletion content/11-machine-learning/neural-net-basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Our goal is to determine the matrix elements of ${\bf A}$.

We can visualize a neural network as:

![NN diagram](nn_fig.png)
![neural network diagram showing nodes in layers linked](nn_fig.png)

* Neural networks are divided into _layers_

Expand Down
2 changes: 1 addition & 1 deletion content/11-machine-learning/neural-net-hidden.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

We can get better performance from a neural network by adding a hidden layer:

![hidden layers](nn_fig_hidden.png)
![neutron network diagram showing a single hidden layer](nn_fig_hidden.png)

The size of the hidden layer is independent of the size of the input and output
layers. In this case, we have a hidden layer that is larger
Expand Down
2 changes: 1 addition & 1 deletion content/Introduction.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# PHY 546: Python for Scientific Computing

![xkcd](01-python/python.png)
![xkcd python cartoon](01-python/python.png)

(from https://xkcd.com)

Expand Down
2 changes: 1 addition & 1 deletion content/git/version-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ You can follow the instructions from the [Software Carpentry lessons](https://ca

* Windows: use [git for Windows](https://gitforwindows.org/)

* Mac: in a teminal, do:
* Mac: in a terminal, do:

```
git --version
Expand Down
Empty file removed docs/.nojekyll
Empty file.
63 changes: 0 additions & 63 deletions docs/LICENSE.txt

This file was deleted.

4 changes: 0 additions & 4 deletions docs/assets/css/font-awesome.min.css

This file was deleted.

39 changes: 0 additions & 39 deletions docs/assets/css/ie9.css

This file was deleted.

Binary file removed docs/assets/css/images/0101_banner.png
Binary file not shown.
Binary file removed docs/assets/css/images/overlay.png
Binary file not shown.
Binary file removed docs/assets/css/images/rt_1.5e7_clean2.png
Binary file not shown.
Loading