Skip to content

Instantly share code, notes, and snippets.

View fperez's full-sized avatar

Fernando Perez fperez

View GitHub Profile
@fperez
fperez / UpdateFigure.ipynb
Last active August 29, 2015 14:03
Simple updating of a matplotlib figure in an IPython notebook.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fperez
fperez / gpu-setup.ipynb
Created July 6, 2014 22:48
Draft of gpu setup in multinode env
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fperez
fperez / owWater-threaded.ipynb
Created August 22, 2014 21:36
Simple notebook to illustrate a problem with nbgrep
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fperez
fperez / Spectroscopy GUI.ipynb
Created September 16, 2014 19:21
Non-trivial IPython notebook with a plotting GUI. Minimally modified from http://nbviewer.ipython.org/gist/bollwyvl/ddd4bf5d7c879012fa2c
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fperez
fperez / nbguidemo.ipynb
Created September 16, 2014 22:34
gui question
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fperez
fperez / nblinkcheck
Created September 22, 2014 06:02
Check links in an IPython notebook. For images, try to copy missing ones from a globally-configured store.
#!/usr/bin/env python
"""Check all figure links in an IPython notebook and try to copy missing ones.
Note: this quick script is adapted to a fairly specific pattern of
mine. You should simply use it as a template and starting point for
your own functionality.
I keep a single large directory full of figures I reuse on all my
talks, and I normally just symlink it from a new talk directory. But
this makes it harder to publish the talk sources in a self-contained
@fperez
fperez / binomplot.py
Created September 28, 2014 00:50
binomial plot with unicode labels
%matplotlib inline
import matplotlib.pyplot as plt
from matplotlib import rc
# To use unicode, turn off latex
#rc('text', usetex=True)
import math
import numpy as np
import scipy as sp
@fperez
fperez / ProgrammaticNotebook-v4.ipynb
Last active August 29, 2015 14:10
Bug in programmatic notebook creation?
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fperez
fperez / LongRunningJobs.ipynb
Created December 30, 2014 17:48
Interactive feedback for long-running jobs in IPython
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fperez
fperez / TestingDashboard.ipynb
Created January 12, 2015 02:17
Testing Dashboard to pull data from a Google form into Pandas and do simple analytics of human-driven tests
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.