Skip to content

Instantly share code, notes, and snippets.

View mperrin's full-sized avatar

Marshall Perrin mperrin

View GitHub Profile
@mperrin
mperrin / NIRISS offset source test.ipynb
Last active January 31, 2017 19:52
NIRISS offset source test
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mperrin
mperrin / fft_comparison_tests.py
Created June 12, 2013 06:00
Python 2D FFT benchmark code: pyFFTW vs PyFFTW3
import numpy as np
import fftw3
import pyfftw
import multiprocessing
import matplotlib
import matplotlib.pyplot as pl
import time
def fft_comparison_tests(size=2048, dtype=np.complex128, byte_align=False):