h5analysis.histogram.process_roi_tuple

h5analysis.histogram.process_roi_tuple(roi_tuple, data)

Processes ROI tuples when None is specified as boundary

Parameters:
  • roi_tuple (tuple) – Tuple corresponding to region of interest boundaries

  • data (array) – 1d array data on which the region of interest is specified

Returns:

roi_tuple – Processed ROI tuple with two floating point numbers

Return type:

tuple