Band-limited Fourier interpolation: Difference between revisions

From Fluids Wiki
Jump to navigation Jump to search
(Created page with '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 interpolat…')
 
No edit summary
Line 1: Line 1:
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).
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 ==
== Installing bandLimFourierInterp ==
Line 10: Line 9:


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.
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 ==
== Discussion ==
Line 17: Line 15:
straight-forward to do. If anyone wants to give this an attempt, I can help/provide my input. --Derek.
straight-forward to do. If anyone wants to give this an attempt, I can help/provide my input. --Derek.


(your comments go here).
(Your comments go here).

Revision as of 12:39, 3 November 2012

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 belize:

git clone http://belize.math.uwaterloo.ca/~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

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).