ewoksndreg.math.crop#

Functions

array_crop_limits(array)

Calculate array index limits for each dimension to strip invalid value blocks at the edges.

merge_crop_limits(all_limits, intersection)

Merge several array limits either by taking the intersection or the envelop.