warp.tile_view#
- warp.tile_view( ) Tile[Any, tuple[int, ...]]#
Kernel
Extract a view of a tile.
offsetmay contain integer coordinates, in which caseshapegives the returned tile shape.offsetmay also containsliceobjects, in which case the returned shape is inferred from the slice bounds andshapemust not be specified.- Parameters:
t – Input tile to extract a subrange from
offset – Integer offsets or slices in the source tile
shape – Shape of the returned view for integer-only offsets
- Returns:
A tile view with dimensions given by
shape, the remaining source tile dimensions, or the inferred slice extents.