array_split.ShapeSplitter.calculate_split¶
- ShapeSplitter.calculate_split()[source]¶
Computes the split.
- Return type:
- Returns:
A
numpystructured array of dimensionlen(self.array_shape). Each element of the returned array is atuplecontaininglen(self.array_shape)elements, with each element being asliceobject. Eachtupledefines a slice within the boundsself.array_start - self.halo[:, 0]toself.array_start + self.array_shape + self.halo[:, 1].