arpes.analysis.filters.gaussian_filter_arr#

arpes.analysis.filters.gaussian_filter_arr(arr, sigma=None, iteration_n=1, *, default_size=1, use_pixel=False)[source]#

Coordinate aware scipy.ndimage.filters.gaussian_filter.

Parameters:
  • arr (xr.DataArray) – ARPES data

  • sigma (dict[Hashable, int]) – Kernel sigma, specified in terms of axis units. (if use_pixel is False). An axis that is not specified will have a kernel width of default_size in index units.

  • iteration_n – Repeats n times.

  • default_size – Changes the default kernel width for axes not specified in sigma. Changing this parameter and leaving sigma as None allows you to smooth with an even-width kernel in index-coordinates.

  • use_pixel (bool) – if True, the sigma value is specified by pixel units not axis units.

Returns:

Smoothed data.