Category Archives: Programming

From tests to specifications (and everything in between)

I came to a really neat realisation a little time ago that when using test-drive development (TDD), the testing of your software defines the specification of your software. This may be obvious but it really highlights the fundamental difference in … Continue reading

Posted in Engineering, Programming | Leave a comment

pyFFTW coming together

It has been sometime since I posted about pyFFTW, the last being well over a year ago when I introduced the wisdom functionality. Despite that, the development has been plodding along steadily (and quiet releases made!) and with the 0.9.1 … Continue reading

Posted in Programming | 6 Comments

Squishing Matlab mex files into Octave

Common wisdom says that the mex files that Matlab builds are good for Matlab, and Matlab only. Not having trivial access to an installation of Matlab and needing to access the very neat and useful Field II package, this was … Continue reading

Posted in Engineering, Programming | 16 Comments

Speedy fast 1D convolution with SSE

I’ve done a bit of coding in the past with SSE instructions and achieved quite a significant speedup. I’ve also been playing recently with OpenCL as a means of implementing a fast, cross-device version of the Dual-Tree Complex Wavelet Transform … Continue reading

Posted in Engineering, Programming | 3 Comments

The Wisdom of FFTW

Since the last post on my python wrappers for FFTW, I’ve advanced the code substantially. It now supports all the basic transforms using the same unified pythonic interface in which the transform is inferred from the dtype. In addition, I’ve … Continue reading

Posted in Engineering, Programming | 9 Comments

The joys of Cython, Numpy, and a nice FFTW api

This is about my new FFTW python wrapper. The FFT routines shipped with Numpy are rather slow and have been the performance bottleneck in my code for some time. Last week I decided I needed to move to FFTW for … Continue reading

Posted in Engineering, Programming | Tagged , , , , , | 45 Comments

Top down or bottom up hierarchical builds?

About a year ago, after much umming and ahing about which build system to use for my ongoing project, I went with SCons. I liked the idea that my build system could be written in the same language as a … Continue reading

Posted in Programming | 2 Comments