biomol.core.NodeFeature#
- class NodeFeature(value)[source]#
Bases:
FeatureA feature associated with nodes in a structure.
- Parameters:
value (np.ndarray) – A numpy array where the first dimension corresponds to the nodes.
Attributes
The underlying numpy array representing the feature data.
Return the data type of the feature.
Return the number of dimensions of the feature.
Return the shape of the feature.
Return the total number of elements in the feature.
Methods
Return a deep copy of the feature.
Crop the feature to only include the specified indices.
Return the maximum of the feature along the specified axis.
Return the mean of the feature along the specified axis.
Return the minimum of the feature along the specified axis.
Return the sum of the feature along the specified axis.