parq_blockmodel.utils.spatial_encoding

Functions

decode_coordinates

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

encode_coordinates

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

encoded_index_to_multiindex

Convert an encoded integer Index back to a MultiIndex.

is_integer

multiindex_to_encoded_index

Convert a MultiIndex to an encoded integer Index.