Hi Need to do fftshift in 3 dimensions using fftw library but can't find it. Does anyone know if there is a function for this in the above library ? Thanks in advance H.
fftshift
Started by ●February 28, 2006
Reply by ●February 28, 20062006-02-28
Henrietta Denoue wrote:> Need to do fftshift in 3 dimensions using fftw library > but can't find it. Does anyone know if there is a function > for this in the above library ?fftshift is a Matlab function; there is no such function in the FFTW library. Of course, it's not hard to write such a function (at least for even sizes), and see also question 3.10 in the FFTW FAQ (fftw.org/faq) for a different trick. Cordially, Steven G. Johnson
Reply by ●March 2, 20062006-03-02
stevenj@alum.mit.edu wrote:> Henrietta Denoue wrote: > >>Need to do fftshift in 3 dimensions using fftw library >>but can't find it. Does anyone know if there is a function >>for this in the above library ? > > > fftshift is a Matlab function; there is no such function in the FFTW > library. Of course, it's not hard to write such a function (at least > for even sizes), and see also question 3.10 in the FFTW FAQ > (fftw.org/faq) for a different trick. > > Cordially, > Steven G. Johnson >Thanks a lot Steven. You saved me a lot of work. H.