biomol.core.NodeFeature.crop#

NodeFeature.crop(indices)[source]#

Crop the feature to only include the specified indices.

Parameters:

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

Return type:

Self