Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
64f224f
Begin new numpy lesson
wmvanvliet Jun 15, 2026
8b7d293
Continue working on NumPy lesson
wmvanvliet Jun 29, 2026
18277a0
Continue working on NumPy lesson
wmvanvliet Jun 29, 2026
8880bc3
Continue working on NumPy lesson
wmvanvliet Jun 29, 2026
8066ece
Continue working on NumPy lesson
wmvanvliet Jul 2, 2026
24bec23
Continue working on NumPy lesson
wmvanvliet Jul 2, 2026
0e635bb
fix function
wmvanvliet Jul 4, 2026
27a4556
Finish first version of the NumPy lesson
wmvanvliet Jul 4, 2026
4980964
Improve the text
wmvanvliet Jul 5, 2026
aa0ad6a
Add image
wmvanvliet Jul 5, 2026
9f0de7a
Some tweaks
wmvanvliet Jul 5, 2026
81159af
Remove unneeded figure
wmvanvliet Jul 5, 2026
37f733d
Disable PDF build until it can be fixed
wmvanvliet Jul 5, 2026
664d33c
Make Github actions expose the HTML lession as an artifact
wmvanvliet Jul 5, 2026
e06206c
Update HTML artifact
wmvanvliet Jul 5, 2026
e2df918
Change title
wmvanvliet Jul 5, 2026
8aa1eb7
Some tweaks to the numpy stars lesson
wmvanvliet Oct 11, 2026
08ef039
Some improvements based in Richards comments
wmvanvliet Oct 12, 2026
543ce25
Formatting fix
wmvanvliet Oct 12, 2026
c008a28
decided to reorder some things based on practicing given the lesson
wmvanvliet Oct 13, 2026
36fa603
Better Big Dipper image
wmvanvliet Oct 13, 2026
8430bd0
Merge branch 'example-driven' of github.com:wmvanvliet/python-for-sci…
wmvanvliet Oct 13, 2026
1f50f77
Better Hertzsprung-Russel diagram
wmvanvliet Oct 13, 2026
bd80624
small tweaks
wmvanvliet Oct 13, 2026
1b933f8
Merge branch 'example-driven' of github.com:wmvanvliet/python-for-sci…
wmvanvliet Oct 13, 2026
ef876e3
simplifying lesson
wmvanvliet Oct 15, 2026
4ceb2fa
add big dipper image
wmvanvliet Oct 15, 2026
df42549
working more on the lesson
wmvanvliet Oct 15, 2026
9e29cc3
working on lesson
wmvanvliet Oct 15, 2026
b921334
add coeffs
wmvanvliet Oct 16, 2026
765e755
finish first round of simplifications
wmvanvliet Oct 16, 2026
a3aec70
Merge branch 'example-driven' of github.com:wmvanvliet/python-for-sci…
wmvanvliet Oct 16, 2026
80a20e8
tweaks
wmvanvliet Oct 16, 2026
3eb427c
better figure
wmvanvliet Oct 16, 2026
42620f2
Put the NumPy stars lesson into place
wmvanvliet Nov 3, 2026
23e723e
mention data package again
wmvanvliet Nov 3, 2026
ba2dad8
Add data package to installation instructions
wmvanvliet Nov 3, 2026
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
8 changes: 7 additions & 1 deletion .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
# If these SPHINXOPTS are enabled, then be strict about the
# builds and fail on any warnings.
#SPHINXOPTS: "-W --keep-going -T"
GENERATE_PDF: true # to enable, must be 'true' lowercase
GENERATE_PDF: false # to enable, must be 'true' lowercase
GENERATE_SINGLEHTML: true # to enable, must be 'true' lowercase
PDF_FILENAME: lesson.pdf
MULTIBRANCH: true # to enable, must be 'true' lowercase
Expand Down Expand Up @@ -96,6 +96,12 @@ jobs:
make singlehtml
mv _build/singlehtml/ _build/dirhtml/singlehtml/

- name: Save HTML as artifact
uses: actions/upload-artifact@v4
with:
name: html-dev
path: _build

# PDF if requested
- name: Generate PDF
if: ${{ env.GENERATE_PDF == 'true' }}
Expand Down
Binary file added content/img/numpy/Big_Dipper.jpg
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 content/img/numpy/Large_Magellanic_Cloud.jpg
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 content/img/numpy/hertzsprung_russel.jpg
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 content/img/numpy/parsec.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion content/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ to learn yourself as you need to.

(prereq) ; :doc:`python`
30 min ; :doc:`jupyter`
60 min ; :doc:`numpy` or :doc:`numpy-advanced`
60 min ; :doc:`numpy-stars` or :doc:`numpy-advanced`
60 min ; :doc:`pandas`
30 min ; :doc:`xarray`
60 min ; :doc:`plotting-matplotlib`
Expand All @@ -98,6 +98,7 @@ to learn yourself as you need to.
python
jupyter
numpy
numpy-stars
numpy-advanced
pandas
xarray
Expand Down
4 changes: 4 additions & 0 deletions content/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,10 @@ Any recent version of Python 3 should work for the course (for example
3.8 or higher).


Data package
------------
For the NumPy lesson, you will need to download and extract a data package, which you can find here:
https://drive.google.com/file/d/1ZbZIpf-tL60S18k9f8LI_YdTe9o8jy-I/view?usp=sharing

Zoom
----
Expand Down
Loading