A code to calculate auto- and cross-correlations using the fftw library