lentil.extent.intersection_shape#

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

Compute the shape of two overlapping extents. If there is no overlap, an empty tuple is returned.

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

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

Return type:

tuple