ewoksscxrd.tasks.utils.subtract_images_inplace_parallel#

ewoksscxrd.tasks.utils.subtract_images_inplace_parallel(data, scale_factor, masking_value)[source]#
Processes a 4D dataset in parallel:
  • The input ‘data’ must have shape (nframes, 2, H, W).

  • Each frame is processed by subtract_frame_inplace with the given scale and threshold.

  • After processing, only image0 is returned as a 3D array.