array_split.ShapeSplitter.convert_halo_to_array_form¶
- ShapeSplitter.convert_halo_to_array_form(halo)[source]¶
Converts the
haloargument to a(self.array_shape.size, 2)shaped array.- Parameters:
halo (
None,int,self.array_shape.sizelength sequence ofintor(self.array_shape.size, 2)shaped array ofint) – Halo to be converted to(len(self.array_shape), 2)shaped array form.- Return type:
- Returns:
A
(len(self.array_shape), 2)shaped array ofnumpy.int64elements.