parq_blockmodel.utils.spatial_encoding#
Functions
Decode the 64-bit integer or array of 64-bit integers back to the original coordinates. |
|
Decode uint64-compatible ids back to xyz-like coordinates using offset+scale. |
|
Backward-compatible alias for |
|
Encode the coordinates into a 64-bit integer or an array of 64-bit integers. |
|
Encode xyz-like coordinates into uint64-compatible integers using offset+scale quantization. |
|
Backward-compatible alias for |
|
Convert an encoded integer Index back to a MultiIndex. |
|
Return (offset_xyz, scale) from a metadata-like encoding payload. |
|
Backward-compatible alias for |
|
Convert a MultiIndex to an encoded integer Index. |