ewoksxrpd.tasks.mask.smooth_mask#

ewoksxrpd.tasks.mask.smooth_mask(mask, hwhm=5)[source]#

Extracted from pyFAI.gui.cli_calibration

Parameters:
  • mask (Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], bool, int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]])

  • hwhm (Number)

Return type:

Union[_SupportsArray[dtype[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], bool, int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]