biomol.core.Feature#
- class Feature(value)[source]#
Bases:
NDArrayOperatorsMixin,ABCA base class for features in a structure.
This class supports numpy operations and can be indexed and cropped.
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.
- Parameters:
value (NDArray[Any])