omf_io.utils.spatial_encoding.encode_dimensions

omf_io.utils.spatial_encoding.encode_dimensions(dx, dy, dz)[source]

Encode the block dimensions into a 32-bit integer or an array of 32-bit integers.

Return type:

Union[ndarray, int]