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

Home » Public Forums » archive » convol
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: convol [message #92059 is a reply to message #92056] Sun, 04 October 2015 03:44 Go to previous messageGo to previous message
Yngvar Larsen is currently offline  Yngvar Larsen
Messages: 134
Registered: January 2010
Senior Member
On Sunday, 4 October 2015 11:15:15 UTC+2, Dete van Eeden wrote:
> On Sunday, October 4, 2015 at 11:05:19 AM UTC+2, Fabien wrote:
>> On 10/04/2015 10:49 AM, Dete van Eeden wrote:
>>>> > Hallo
>>>> > > >
>>>> > > >I want to use the convol function for an array and a kernel.
>>>> > > >
>>>> > > >I am not sure how the center option works? how and where do I define it?
>>>> > > >
>>>> > > >at the moment the result is not quite what it should be...
>>>> > > >
>>>> > > >Any advise?
>>>> >
>>>> >https://xkcd.com/722/
>>>> >
>>>> >Cheers,
>>>> >
>>>> >Fabien
>>> comics??
>>
>> This comic is a perfect illustration of the way you described your
>> problem. People here are very helpful but they have no crystal ball and
>> can't give you a better advice than "press more buttons".
>>
>> http://www.catb.org/esr/faqs/smart-questions.html#beprecise
>
> thanks for being an idiot

(THIS is definitively not the way to get an answer anywhere on the net that I know of. But anyway, here it goes.)

The issue here is that you don't describe why CONVOL doesn't work like you expect. Given that CONVOL is extremely well documented, including the CENTER keyword, it is hard to know what your problem is.

http://www.exelisvis.com/docs/CONVOL.html#C_854643309_676409

You should describe what you did and why that isn't what you expected if you want answers.

A couple of (documented) gotchas are that

1) the CENTER keyword is set by default, and

2) CONVOL does not reverse the kernel unless /REVERSE is set, and thus by default calculates correlation rather than convolution in the mathematical sense.


--
Yngvar
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: cgstretch.....
Next Topic: IDL fails to start after OS X El Capitan upgrade

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

Current Time: Fri Oct 10 03:31:05 PDT 2025

Total time taken to generate the page: 0.55805 seconds