Skip to content

Instantly share code, notes, and snippets.

View ketch's full-sized avatar

David Ketcheson ketch

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ketch
ketch / pyclaw_example_traffic.ipynb
Last active August 29, 2015 14:01
Modeling traffic flow with the Lighthill-Whitham-Richards model in PyClaw.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ketch
ketch / csv_to_weekly_calendar.py
Last active August 29, 2015 14:02
Script to read in a course schedule Excel spreadsheet and output a visual calendar.
"""
Script to read in a course schedule Excel spreadsheet and output a visual calendar
"""
def time_to_float(time_str):
if time_str is '':
return None
t = time_str.split(':')
return float(t[0]) + float(t[1])/60.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ketch
ketch / riemann_solver_animation.ipynb
Last active August 29, 2015 14:04
This is mostly or wholly superseded by what Mauricio del Razo has done: http://nbviewer.ipython.org/github/maojrs/ipynotebooks/blob/master/PPlane_GUI.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.