omfpandas.blockmodel.index_to_geometry

omfpandas.blockmodel.index_to_geometry(index)[source]

Convert a MultiIndex to a VolumeGridGeometry.

Parameters:

index (pd.MultiIndex) – The MultiIndex to convert to a TensorGeometry.

Returns:

The TensorGeometry representing the MultiIndex.

Return type:

TensorGeometry