-
Notifications
You must be signed in to change notification settings - Fork 438
CDS 110 and CDS 112 Jupyter notebooks #1037
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
murrayrm
merged 18 commits into
python-control:main
from
murrayrm:cds_examples-06Jul2024
Aug 11, 2024
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
546a4f1
initial commit of CDS 110, Winter 2024 lectures
murrayrm 1bcdb3a
updated lectures, with fixes, full model code, + colab links
murrayrm ac7d910
added CDS 112 files
murrayrm 257625e
update CDS 110, L1
murrayrm d4c75a3
update CDS 110, L2
murrayrm 557f2c2
update CDS 110, L3
murrayrm cd675aa
update CDS 110, L4a and L4b
murrayrm ea40713
update CDS 110, L5
murrayrm 7756016
update CDS 110, L6a, L6b, and L6c
murrayrm 563b864
update CDS 110, L7
murrayrm 64e58a3
update CDS 110, L8a and L8b
murrayrm 354f3cc
update CDS 110, L9
murrayrm e4f2710
change cds112 files names and fix up errors
murrayrm cf10d95
update Google Colab links, Makefile directions
murrayrm 90b1759
fix typo in kincar.py pointed out by @slivingston
murrayrm 7994bd0
fix small typos
murrayrm fd3a5e7
fix links in doc/examples.rst
murrayrm 7915c91
address @slivingston review comments
murrayrm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,3 +42,6 @@ venv/ | |
ENV/ | ||
env.bak/ | ||
venv.bak/ | ||
|
||
# Files for MacOS | ||
.DS_Store |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.ipynb-clean |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Makefile for python-control examples | ||
# RMM, 6 Jul 2024 | ||
# | ||
# This makefile allows cleanup and posting of Jupyter notebooks into | ||
# Google Colab. | ||
# | ||
# Files are copied to Google Colab using rclone. In order to copy files to | ||
# Google Colab, you should edit the GDRIVE variable to use the name of the | ||
# drive you have configured in rclone and the path where you want to place | ||
# the files. The default location is set up for the fbsbook.org@gmail.com | ||
# Google Drive account, currently maintained by Richard Murray. | ||
|
||
NOTEBOOKS = cds110-L*_*.ipynb cds112-L*_*.ipynb | ||
GDRIVE= fbsbook-gdrive:python-control/public/notebooks | ||
|
||
# Clean up notebooks to remove output | ||
clean: .ipynb-clean | ||
.ipynb-clean: $(NOTEBOOKS) | ||
@for i in $?; do \ | ||
echo jupyter nbconvert --clear-output clear-metadata $$i; \ | ||
jupyter nbconvert \ | ||
--ClearMetadataPreprocessor.enabled=True \ | ||
--clear-output $$i; \ | ||
done | ||
touch $@ | ||
|
||
# Post Jupyter notebooks on course website | ||
post: .ipynb-clean | ||
rclone copy . $(GDRIVE) --include /cds110-L\*_\*.ipynb |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.