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

Home » Public Forums » archive » Re: Non-uniform 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: Non-uniform FFT? [message #75679 is a reply to message #75665] Tue, 05 April 2011 10:54 Go to previous messageGo to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article
<9cb6bd9c-a2b4-487a-b039-a9e636ba55af@c26g2000vbq.googlegroups.com>,
Eric Hudson <ehudson@mit.edu> wrote:

> Hi,
>
> I was wondering if anyone has implemented a non-uniform FFT algorithm
> in IDL. We have non-regularly spaced real space data that we need to
> Fourier transform, and it is painfully slow to do the discrete
> transform. I have found several c algorithms online (e.g.
> http://www-user.tu-chemnitz.de/~potts/nfft/download.php) but before
> launching into either converting them or figuring out how to run C
> code from within IDL thought maybe someone else had already gone to
> the trouble.
>
> Thanks,
> Eric

The approach could depend on just how non-uniform your data are.

Do you need the whole spectrum, or do you know in advance
which wavenumbers are of interest?

You can do the DFT using least squares (regression), but that will
be slow if you need the full spectrum.

If you only need low wavenumbers, you could interpolate to
a regular grid and then use least squares or the FFT.

Ken Bowman
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Numbering of memory-files in ENVI/IDL
Next Topic: Re: help & help,/structure

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

Current Time: Wed Oct 08 19:32:13 PDT 2025

Total time taken to generate the page: 0.00392 seconds