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

Home » Public Forums » archive » Convolving speed issue
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: Convolving speed issue [message #59955 is a reply to message #59844] Mon, 21 April 2008 11:39 Go to previous messageGo to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
rog...@googlemail.com wrote:
> Dear Paolo,
> yes, it isnt so much slower. I could also use fftw, which is available
> for matlab and also for IDL. But nevertheless, I had to convolve it
> directly and not in frequency domain.

OK, here's where I cannot follow you: why do you care how the
convolution is preformed? If you get the same answer by the
direct (slow) and FFT (fast) method, why would you not want to use
the latter one?

Paolo


> The problem is that the matrices
> could be very large (their size is changing dynamically) and there are
> also some iterations (nearly 200) for each convolve. So I always try
> to use as often as possible reform, replicate and rebin, because those
> are very fast for manipulating or computing arrays.
>
> But, unfortnately I'm not able to exchange the for-to loops
> completely. I think, it's quite difficult to do this in the way I
> mentioned above.
>
> But thanks again for answer, Paolo
>
> Any other ideas?
>
> Best regards
>
> Chris
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: problem with Fanning's getcolor
Next Topic: Atmospheric correction

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

Current Time: Sat Oct 11 10:25:15 PDT 2025

Total time taken to generate the page: 1.51837 seconds