fields.mixins.base.DTensorFieldCoreMixin.as_array#
- DTensorFieldCoreMixin.as_array()#
Return the underlying buffer as a NumPy array.
This method extracts the field’s raw data buffer and returns it as a standard NumPy array. This strips any associated units or metadata.
- Returns:
The raw array representing the field’s data.
- Return type:
np.ndarray