array_split.ShapeSplitter.convert_halo_to_array_form¶
-
ShapeSplitter.
convert_halo_to_array_form
(halo)[source]¶ Converts the
halo
argument to a(self.array_shape.size, 2)
shaped array.Parameters: halo ( None
,int
,self.array_shape.size
length sequence ofint
or(self.array_shape.size, 2)
shaped array ofint
) – Halo to be converted to(len(self.array_shape), 2)
shaped array form.Return type: numpy.ndarray
Returns: A (len(self.array_shape), 2)
shaped array ofnumpy.int64
elements.