add_gaussian_point_spread#
- diffsims.pattern.detector_functions.add_gaussian_point_spread(pattern, sigma)[source]#
Blurs intensities across space with a gaussian function
- Parameters:
pattern (numpy.ndarray) – The diffraction pattern at the detector
sigma (float) – The standard deviation of the gaussian blur, in pixels
- Returns:
blurred_pattern – The blurred pattern (deterministic)
- Return type: