Archive for November, 2009

13 Nov

Decoration and pickling

Decoration is a fantastic pattern in Python that allows for very light-weight metaprograming with functions rather than objects (see this article for an in-depth discussion). However, when decorating, it is very easy to break another great feature of the language: its reflectivity and its ability to do static representations of its internal objects: pickling.
In this [...]

09 Nov

Writing parallel code in a readable way

Although I often have embarrasingly parallel problems (data parallel), and I have an 8-CPU box at work, I used to frown on writing parallel computing code when doing exploratory coding. We now have fantastic parallel computing facilities in Python (amongst other, multiprocessing, IPython, and parallel Python). However, in my opinion, there are two reasons to [...]

07 Nov

Acceleration estimation in atom-interferometric tests of the Einstein equivalence principle

Hurray! The pivot article that marks my transition from physics to statistic modeling is finally out:
How to estimate the differential acceleration in a two-species atom interferometer to test the equivalence principle
G Varoquaux, R A Nyman, R Geiger, P Cheinet, A Landragin and P Bouyer
To put things in context, at the end of my PhD, we [...]