
Image and Data Processing

Manipulating Text Files
If you handle a lot of data from various programs, instruments and sources, it is inevitable that sooner or later you will be encountered with a large text file from Continue Reading →
Renumbering a series of files
I couldn’t tell you the number of times I’ve gone to run a code to process a series of images or velocity fields only to find that the file name and numbering sequence is not compatible with the particular code I am trying to run. Fortunately a basic bash script can solve these problems without the need to manually rename your files. Continue Reading →
Animating a Velocity Field with Python and FFmpeg
When examining complex fluid flows, from either experimental or numerical data, it can often be instructive to plot (and if time resolved animate) contours of a given quantity and an overlay of the instantaneous velocity vectors. This post shows how to generate and animate a vector field and contour plot. Continue Reading →