array_split.ShapeSplitter.calculate_split_halos_from_extents

ShapeSplitter.calculate_split_halos_from_extents()[source]

Returns (self.ndim, 2) shaped halo array elements indicating the halo for each split. Tiles on the boundary may have the halo trimmed to account for the tile_bounds_policy.

Return type:numpy.ndarray
Returns:A numpy structured array where each element is a (self.ndim, 2) shaped numpy.ndarray indicating the per-axis and per-direction number of halo elements for each tile in the split.