lentil.extent.intersection_extent#

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

Compute the extent of 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