magneticScattering.structures.gaussian_2d#
- gaussian_2d(coords, sigma)#
Created a 2D gaussian centered around zero.
- Parameters:
coords (list[ndarray]) – The coordinate system list (e.g. np.meshgrid(…)).
sigma (list[float, ...]) – A list of sigma values for the Gaussian.
- Returns:
The 2D Gaussian centered around zero.
- Return type:
ndarray