Gaussian line profile using numeric python

Robert Amesz rcameszREMOVETHIS at dds.removethistoo.nl
Mon Apr 2 22:37:27 EDT 2001


John J. Lee wrote:

>On Sat, 31 Mar 2001, Robert Amesz wrote:
>
>> Konrad Hinsen wrote:
>>
>> [Convolution using FFT]
>>
>
>He was just pointing out that it doesn't make sense to take a
>non-periodic function, smear it out, and then expect there to be no
>end effects.  With FFT convolution, for example, you end up smearing
>from 'the other end' of your function, whether you like it or not. 
>You have to reckon on calculating more of your function that you
>want to end up with, so you can throw the wrongly smeared regions
>out.

Oh, I know, but the smear from other types of fast integral transforms 
might not be as objectionable (i.e. broad) as that of the FFT, so you 
might not need as much empty guard space to prevent it from folding 
back. It was just a thought, untried and untested.


Robert Amesz



More information about the Python-list mailing list