darfix.core.imageOperations.mask_removal#

darfix.core.imageOperations.mask_removal(data, mask)[source]#

Set 0 values of mask to 0.

Parameters:
  • data (array_like) – Input data

  • mask (nd.array) – Input mask.

Returns:

ndarray with the masked values