13 Nov
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 [...]
Posted in python, scientific computing by: gael
5 Comments
09 Nov
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 [...]
Posted in python, scientific computing by: gael
8 Comments
07 Nov
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 [...]
Posted in personnal, python, scientific computing by: gael
1 Comment