- lentil.boundary(x, threshold=0)¶
Find bounding row and column indices of data within an array.
x (array_like) – Input array
threshold (float, optional) – Masking threshold to apply before boundary finding. Only values in x that are larger than threshold are considered in the boundary finding operation. Default is 0.
rmin, rmax, cmin, cmax – Boundary indices
- Return type