omfpandas.blockmodel.create_index

omfpandas.blockmodel.create_index(blockmodel)[source]

Returns a pd.MultiIndex for the blockmodel element.

Parameters:

blockmodel (BlockModel) – The BlockModel to get the index from.

Returns:

The MultiIndex representing the blockmodel element geometry.

Return type:

pd.MultiIndex