omf_io.utils.spatial_encoding

Functions

decode_coordinates

Decode the 64-bit integer or array of 64-bit integers back to the original coordinates.

decode_dimensions

Decode the 32-bit integer or array of 32-bit integers back to the original block dimensions.

encode_coordinates

Encode the coordinates into a 64-bit integer or an array of 64-bit integers.

encode_dimensions

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

is_integer