docs: def int_global_to_local_stop(self, index, axis=0):
          """ Calculate local index from global index from stop_index
  
          :param index: global index as integer
          :param axis: current axis to process
          :return:
          """
          if index < self.__mask[axis].start+self.__halos[0][axis]:
              return None
  
          if index > self.__mask[axis].stop:
              return self.__mask[axis].stop-self.__mask[axis].start
  
          return index-self.__mask[axis].start