h5analysis.datautil.get_roi

h5analysis.datautil.get_roi(roi, config)

Gets the roi when ‘:’ separated

Parameters:
  • roi (string)

  • config (dict) – h5 configuration

Returns:

roi

tuple for 2d data (low,high) or dict for 3d data

dict[‘roi_list] = list with tuples dict[‘roi_axes] = tuple of integration axes

Return type:

tuple, dict