gaussian_2d_fixedwidth_offset¶
-
gaussian_2d_fixedwidth_offset(height, center_x, center_y, offset)[source]¶ Returns a gaussian function + offset with the given parameters
sigma is unique and fixed.
FWHM_fit = FWHM_PSF = sqrt(m**2+d**2) (=sqrt(m**2+1) en pixel) m = mask element d = detector pitch sigma = sqrt(m**2+1)/2.3548 (with m=2.53) sigma = 1.155 pixel
Parameters: - height (float) – height of the gaussian function
- center_x (float) – center in x of the gaussian function
- center_y (float) – center in y of the gaussian function
- offset – offset of the gaussian function
:type offset float
Returns: gaussian function with the given parameters Return type: lambda function