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

Home » Public Forums » archive » Re: fft and least sqaues problem
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: fft and least sqaues problem [message #81115 is a reply to message #81105] Thu, 16 August 2012 02:13 Go to previous messageGo to previous message
rogass is currently offline  rogass
Messages: 200
Registered: April 2008
Senior Member
Am Mittwoch, 15. August 2012 01:53:13 UTC+2 schrieb Craig Markwardt:
> On Tuesday, August 14, 2012 2:22:11 PM UTC-4, (unknown) wrote:
>
>> Finally, I found the mistake - sitting in front of this pc :)
>
>
>
> OK.
>
> So summarize for us: what was wrong, and what did you change to fix it?
>
>
>
> Craig

Hi,
the following was missing:

wx-=s[0]/2
wy-=s[1]/2

However, the solution is noise sensitive. Smoothing the data beforehand helps :)

Changing:
phase=atan(imaginary(corr)/real_part(corr))
to:
phase=atan(corr,/phase)

additionally reduces processing time. Thanks to Helder.

Cheers

CR
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Coyote Library Updates
Next Topic: RESOLVE_ROUTINE not finding MEDIAN function?

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

Current Time: Sat Oct 11 13:54:50 PDT 2025

Total time taken to generate the page: 0.47837 seconds