lentil.extent.array_center#

lentil.extent.array_center(extent)[source]#

Compute the center of an extent

Parameters:

a ((4,) array_like) – Array extent (rmin, rmax, cmin, cmax)

Return type:

tuple