h5analysis.datautil.get_indices

h5analysis.datautil.get_indices(roi, roi_scale)

Get the indices from specified ROI and scale

Parameters:
  • roi (tuple) – single ROI element

  • roi_scale (numpy array) – scale to extract closest index from