comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » looking for 2D FFT code?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: looking for 2D FFT code? [message #7734 is a reply to message #7661] Fri, 20 December 1996 00:00 Go to previous message
jyli is currently offline  jyli
Messages: 21
Registered: November 1995
Junior Member
William Ryu (wsryu@fas2.fas.harvard.edu) wrote:
: While it isn't obvious from the help file, IDL's fft() function will
: do multi-dimensional ffts ("The result returned by FFT is a complex
: array that has the same dimensions as the input array.").


With the help of RSI engineers, I think I have found the answer to my
problem.

In the beginning, I fed a test image into FFT and the resulting power
spectrum was not what I expected. Well now I know it is because the way
IDL stores positive and negative frequency components in the FFT
complex arrays, one needs to do a shift operation before displaying the
spectrum. And now Page 1-280 in the IDL reference manual seems to make
a lot sense.


Thanks for those who have responded.

happy holidays and happy IDL programming !

--

============================================================ ============
Jason Y. Li | Tel : (301) 286-1029
Code 913 | Fax : (301) 286-1759
NASA Goddard Space Flight Center | www : http://climate.gsfc.nasa.gov
Greenbelt, MD 20771, USA | email: jyli@climate.gsfc.nasa.gov
============================================================ ============
Beauty of style, harmony, grace and good rhythm depend on simplicity.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: IDL & Windows 3.1
Next Topic: whole world contour plots

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Tue Dec 02 02:35:30 PST 2025

Total time taken to generate the page: 1.43950 seconds