darfix.core.imageOperations.hot_pixel_removal_2D#

darfix.core.imageOperations.hot_pixel_removal_2D(image, ksize=3)[source]#

Function to remove hot pixels of the data using median filter.

Parameters:
  • data (array_like) – Input data.

  • ksize (int) – Size of the mask to apply.

Returns:

ndarray