omfpandas.blockmodels.coordinate_encoding
Functions to support coordinate encoding/decoding for block models. NOTE: The encoding scheme can only support x, y, z, given the 64 bit limit, so only regular block models are supported.
Functions
Decode the 64-bit integer back to the original coordinates. |
|
Encode the coordinates into a 64-bit integer. |
|
Convert an encoded integer Index back to a MultiIndex. |
|
Convert a MultiIndex to an encoded integer Index. |