Skip to content

Instantly share code, notes, and snippets.

Avatar

Fernando Perez fperez

View GitHub Profile
@fperez
fperez / ipshell_doctest.py
Created Feb 1, 2014
IPython Shell that can be embedded when called in a doctest run
View ipshell_doctest.py
"""Implement a version of `IPython.embed()` which works during doctesting.
This provides a `dt_embed()` function that is similar to `IPython.embed`, but
which can run when used inside code that will be run via doctests (where the
default `embed` locks up due to the hijacking of `sys.stdout` that doctest
performs.
See https://github.com/ipython/ipython/issues/90 for the full details.
"""
@fperez
fperez / Numpy Distributions with Plotly.ipynb
Created Feb 11, 2014
Illustrating the properties of statistical distributions with numpy and plotly
View Numpy Distributions with Plotly.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fperez
fperez / Matplotlib3dInteract
Last active Aug 29, 2015
Interactive control of Matplotlib 3d figures
View Matplotlib3dInteract
{
"metadata": {
"name": "",
"signature": "sha256:07f03dc736de2f21e779d51d9ce4580c72397bc701e44dacf2ee98298a9d7285"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@fperez
fperez / Randomization Tests.ipynb
Last active Aug 29, 2015
A version for the IPython R kernel of @dmbates' randomization tests document: http://rpubs.com/dmbates/15250
View Randomization Tests.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View testPerm.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fperez
fperez / UpdateFigure.ipynb
Last active Aug 29, 2015
Simple updating of a matplotlib figure in an IPython notebook.
View UpdateFigure.ipynb
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 Jul 6, 2014
Draft of gpu setup in multinode env
View gpu-setup.ipynb
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 Aug 22, 2014
Simple notebook to illustrate a problem with nbgrep
View owWater-threaded.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View nbguidemo.ipynb
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 Sep 16, 2014
Non-trivial IPython notebook with a plotting GUI. Minimally modified from http://nbviewer.ipython.org/gist/bollwyvl/ddd4bf5d7c879012fa2c
View Spectroscopy GUI.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.