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

Home » Public Forums » archive » Re: What are the errors in the 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: What are the errors in the FFT? [message #52457 is a reply to message #52441] Thu, 08 February 2007 10:43 Go to previous messageGo to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
monty@lanl.gov wrote:
> For a given function f(t) I am finding:
>
> FFT(FFT(f(t),-1),1) -f(t) varies between about 10^-7 to 1-^-8 for
> floating point
> and about 10^-14 to 10^-16 for double precision

What are the magnitudes of the original f(t)? If close to one, sounds like "simple"
accumulation of precision errors.

> (I.e. the inverse transform of the transform deviates from the
> original function)

Depends on your definition of "deviates".

> Is this aproblem with the IDL implementation of the FFT, or is this a
> more fundamental issue with the algorithm itself?

Depending on your input function magnitudes, it's more likely a (the? :o) fundamental
issue with floating point arithmetic. There are ways of minimising this sort of error
accumulation (and I assume FFT algorithms do it already), but you can't remove it entirely.

cheers,

paulv

--
Paul van Delst Ride lots.
CIMSS @ NOAA/NCEP/EMC Eddy Merckx
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Arrays of Structures
Next Topic: Re: READS as a speed improvement or simply style?

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

Current Time: Sun Oct 12 02:30:06 PDT 2025

Total time taken to generate the page: 2.32066 seconds