darfix.core.imageOperations.threshold_removal#

darfix.core.imageOperations.threshold_removal(data, bottom=None, top=None)[source]#

Set bottom and top threshold to the images in the dataset.

Parameters:
  • data (array_like) – Input data

  • bottom (int) – Bottom threshold

  • top (int) – Top threshold

Returns:

ndarray