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…')
 
 
(4 intermediate revisions by the same user not shown)
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 ==
Get the most recent version from the git repository hosted on belize:
Get the most recent version from the git repository hosted on Github:


<code>
<code>
git clone http://belize.math.uwaterloo.ca/~dsteinmo/bandLimFourierInterp.git
git clone https://github.com/dsteinmo/bandLimFourierInterp.git
</code>
</code>


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 ==
The repository is now hosted on Github primarily, but will continue to keep the belize repository tracking new changes also. (Derek, 11/11/2012).


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

Latest revision as of 13:54, 11 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 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).