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

Home » Public Forums » archive » Re: n-point FFT
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: n-point FFT [message #22606 is a reply to message #22601] Tue, 21 November 2000 00:00 Go to previous messageGo to previous message
Paul van Delst is currently offline  Paul van Delst
Messages: 364
Registered: March 1997
Senior Member
Paul Woodford wrote:
>
> In article <onzoit8fai.fsf@cow.physics.wisc.edu>,
> craigmnet@cow.physics.wisc.edu wrote:
>
>> It's very easy to
>> do any needed zero-padding yourself (ie, fft([x, fltarr(nzeros)]) ).
>
> Easy, but inconvenient. I also missed the Matlab notation when I
> switched to IDL, and finally hacked a small "efft" function to recreate
> it.

Different strokes, but I would never recommend this sort of thing mostly because too many
times I've seen (both others and myself) get in trouble with FFT's because something I or
someone else assumed about the particular FFT implementation (fortran, idl, matlab, C,
various flavours - take your pick) was wrong (or non-portable). Particularly when it comes
to specifying exactly where the Nyquist point is.

Thus, I would always hope that my colleagues are painstakingly clear about how many points
they expect to have in, and with how many zeros they padded, their spectra(um).

> I keep forgetting to send this feature request to RSI...

I wouldn't consider it a feature, but a user bug waiting to happen...... +/- 1 point
errors in FFTs can be capriciously subtle :o(

BTW, I'm not bitter...no, not at all (snuckin' fessin' rotten rasterdly FFTs.....)

:o)

paulv

--
Paul van Delst Ph: (301) 763-8000 x7274
CIMSS @ NOAA/NCEP Fax: (301) 763-8545
Rm.207, 5200 Auth Rd. Email: pvandelst@ncep.noaa.gov
Camp Springs MD 20746
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Getting BIG structures into IDL via CALL_EXTERNAL
Next Topic: ENVI: AVHRR Calibration for Old NOAA Platforms

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

Current Time: Sat Oct 11 02:45:08 PDT 2025

Total time taken to generate the page: 0.80031 seconds