Band-limited Fourier interpolation

From Fluids Wiki
Jump to navigation Jump to search

Given some 1D or 2D periodic function sampled at equispaced points, there are a number of reasons why you may want to be able to construct an interpolant the correctly interpolates the data to an arbitrary set of points. This can be done with the matlab functions bandLimFourierInterp1D.m & bandLimFourierInterp2D.m (written by Derek).

Installing bandLimFourierInterp

Get the most recent version from the git repository hosted on Github:

git clone https://github.com/dsteinmo/bandLimFourierInterp.git

That will create a directory called bandLimFourierInterp/ wherever you called the command. The two functions mentioned above are inside that folder. The sub-directory bandLimFourierInterp/tests/ contains some 1D & 2D test cases/examples.

Discussion

The repository is now hosted on Github primarily, but will continue to keep the belize repository tracking new changes also. (Derek, 11/11/2012).

There have been many important bug fixes in the latest commit. Update your version with 'git pull' or do a new clone using the aforementioned 'git clone' command. Type 'git log' to see what the recent changes are (Derek, 11/08/2012).

It might be useful to re-do this with the SPINS/blitz C++ framework for bigger jobs using distributed memory (MPI). I think it would be straight-forward to do. If anyone wants to give this an attempt, I can help/provide my input. (Derek).

(Your comments go here).