gaussian_2d_fixedwidth¶
-
gaussian_2d_fixedwidth(height, center_x, center_y)[source]¶ Returns a gaussian function 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
Returns: gaussian function with the given parameters
Return type: lambda function