lentil.field.boundary#
- lentil.field.boundary(fields)[source]#
Compute the bounding extents around a number of Field objects.
- Parameters:
fields (
Field
objects) – Fields to compute boundary around- Returns:
rmin, rmax, cmin, cmax – Indices that define the extent of the shifted arrays.
- Return type:
int
Notes
To use the values returned by
boundary()
in a slice,rmax
andcmax
should be increased by 1.See also
lentil.field.extent
Compute the extent of a Field