code: def slice_local_to_global(self, index_slice, axis=0):
          
  
          local_start = self.int_local_to_global_start(index_slice.start, axis)
          local_stop = self.int_local_to_global_stop(index_slice.stop, axis)
  
          return slice(local_start,local_stop,index_slice.step)
docs: Calculate start and stop index for mapping sliced index
  
          :param index_slice: sliced index?
          :param axis: current axis to calculate
          :return: slice object as calculated