Convolution¶
Description¶
Convolution is an extension of CompositeFunction which performs convolution of its members using either the Fast Fourier Transform (symmetric domain) or the direct formula (asymmetric domain).
Here
FFT mode¶
if
It should be noted that the two functions (
In the following example a Gaussian is convolved with a box function:
![Convolution.png](../../_images/Convolution.png)
Note that the box function is defined on interval [-5, 5]:
![Box.png](../../_images/Box.png)
Direct mode¶
If
In the following example a QENS signal is fitted to a two-Lorentzian
model, convolved with the experimental resolution, in the
asymmetric energy range
![ConvolutionAsymmetric.png](../../_images/ConvolutionAsymmetric.png)
Attributes (non-fitting parameters)¶
Name |
Type |
Default |
Description |
---|---|---|---|
FixResolution |
|||
NumDeriv |
Categories: FitFunctions | General
Source¶
C++ header: Convolution.h
C++ source: Convolution.cpp