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], _NestedSequence[_SupportsArray[dtype]], bool, int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]) –

  • hwhm (Number) –

Return type:

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