biomol.core.IndexTable.convert#
- IndexTable.convert(indices, source, target)[source]#
Convert indices between structural levels.
- Parameters:
indices (NDArray[np.integer]) – 1D array of indices at the source level.
source (StructureLevel) – The structural level of the input indices.
target (StructureLevel) – The structural level to convert the indices to.
- Returns:
1D array of indices at the target level.
- Return type:
NDArray[np.integer]