biomol.core.FeatureContainer.crop#

FeatureContainer.crop(indices)[source]#

Crop all features to only include the specified indices.

Parameters:

indices (NDArray[np.integer]) – 1D array of global node indices to keep. Only integer arrays is allowed.

Return type:

FeatureContainer