The Smoothing operation is used to blur the diffraction patterns. It consists in applying an uniformly filled convolution kernel on the diffraction pattern.


The size of the kernel is specified by the user. It must be an odd value greater than 1. The greater the kernel size the blurrier will be the diffraction pattern.


Original pattern


Smoothed pattern with a convolution kernel of 11x11