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 #92061 is a reply to message #92056] Mon, 05 October 2015 04:37 Go to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
On 10/04/15 05:15, 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

Now, now. Don't take it personally. Fabien did provide good advice with
the last link (the comic did make me laugh...mostly because I've been in
that position myself, pressing buttons in blind panic mode. But I
digress....)

Getting back to your question, the documentation for CONVOL is pretty
thorough:
http://www.exelisvis.com/docs/CONVOL.html

When you say you are "not sure how the center option works? how and
where do I define it?" the doc in the above link should help.

To quote from the intro:
"The CENTER keyword controls the alignment of the kernel with the array
and the ordering of the kernel elements. If CENTER is explicitly set to
0, convolution is performed in the strict mathematical sense; otherwise,
the kernel is centered over each data point."

Now I go back to button pressing... :o)

cheers,

paulv
[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 11:48:41 PDT 2025

Total time taken to generate the page: 1.11761 seconds