Hi all!

Thank you very much indeed for developing such a useful tool!

I am learning PDL at the moment and I am really pleased how simple 
calculations can be done with Perl.

But now I obtained an unexpected result from "fftconvolve" that I do not 
understand.

A simple example is like this: I convolve two 1D piddles, the first is 
zero except for one value which is 1. The second one has a gaussian 
shape. I expect as the result a piddle which contains a gaussian shape 
converging to zero far away from the center.

The resulting piddle shows the expected gaussian shape but is not 
converging to zero, instead of that to a negative constant value. It 
seems that the result has a negative offset.
If I do the convolution with "convolve" instead of "fftconvolve"  the 
result is exactly what I expect.

Does someone has an idea why fftconvolve has this (for me) unexpected 
and (for me) incorrect behavior?

Many thanks!

Andreas


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to