Source control for scientists and soloists

Normally when people talk about source control, they focus on collaboration: If you're collaborating on code and you're not using source control, you're doing it wrong! If you're collaborating with others, source control looks roughly like this:

If you're just working on your own code ...

more ...

Scikit-image tutorial at SciPy 2014

Juan Nunez-Iglesias, a fellow core-developer of scikit-image, and I gave a scikit-image tutorial at SciPy 2014! I gave the first 2 hours (minus a quick intro), and Juan gave the second 2 hours. Surprisingly, this was the first tutorial at the (U.S.) SciPy conference (Emmanuelle Gouillart gave a tutorial ...

more ...

Animating particles in a flow

This article demonstrates matplotlib's animation module by animating marker particles in a fluid flow around a cylinder. It's a bit long because it ties together a number of different ideas:

  • stream functions
  • numerical integration
  • plotting and animation

Before we really start, let's copy a function from a ...

more ...

Ragged arrays

I often need to save a series of arrays in which one dimension varies in length---sometimes called a ragged array [1]. For example, I'm running particle tracking experiments, and I need to save the 2D coordinates of all particles in each video frame. The number of particles in each ...

more ...