This file contains 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
\relax | |
\providecommand\zref@newlabel[2]{} | |
\@writefile{lof}{\contentsline {part} {\figurenameToC }{\relax }} | |
\@writefile{lot}{\contentsline {part} {\tablenameToC }{\relax }} | |
\@writefile{toc}{\contentsline {part} {\chapternameToC }{\relax }} | |
\providecommand \oddpage@label [2]{} | |
\citation{Taylor2003:CGPS} | |
\citation{oey:hierarchical:2005} | |
\citation{curtis2010} | |
\citation{curtis2010} |
This file contains 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
import pymc as pm | |
import numpy as np | |
# FIXME: Need to store duplicates too, when jumps are rejected. That means some mechanism | |
# for making sure the history is full-rank needs to be employed. | |
class HistoryCovarianceStepper(pm.StepMethod): | |
_state = ['n_points','history','tally','verbose'] | |

This file contains 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
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): |
This file contains 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
import functools | |
class class_or_instance(object): | |
def __init__(self, fn): | |
self.fn = fn | |
def __get__(self, obj, cls): | |
if obj is not None: | |
return lambda *args, **kwds: self.fn(obj, *args, **kwds) | |
else: | |
return lambda *args, **kwds: self.fn(cls, *args, **kwds) |
This file contains 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
import functools | |
class class_or_instance(object): | |
def __init__(self, fn): | |
self.fn = fn | |
def __get__(self, obj, cls): | |
if obj is not None: | |
return lambda *args, **kwds: self.fn(obj, *args, **kwds) | |
else: | |
return lambda *args, **kwds: self.fn(cls, *args, **kwds) |
This file contains 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
#http://stackoverflow.com/questions/17444657/how-to-prevent-numpy-from-splitting-up-an-array-like-object | |
class Quantity(object): | |
def __init__(self, value, unit): | |
self.unit = unit | |
self.value = value | |
def __getitem__(self, key): | |
return Quantity(self.value[key], unit=self.unit) |
This file contains 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
{ | |
"metadata": { | |
"name": "HasG2BeenDetectedInTheRadio" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file has been truncated, but you can view the full file.