lentil.extent.intersection_shift#

lentil.extent.intersection_shift(a, b)[source]#

Compute the shift between two overlapping extents

Parameters:
  • a ((4,) array like) – Array extents (rmin, rmax, cmin, cmax)

  • b ((4,) array like) – Array extents (rmin, rmax, cmin, cmax)

Return type:

tuple