fields.components.FieldComponent.as_array#
- FieldComponent.as_array() ndarray [source]#
Return the buffer as a standard NumPy array.
This strips away units and any backend-specific metadata. It is useful for performing standard NumPy operations or exporting data in a backend-agnostic format.
- Returns:
A NumPy array copy of the field’s data buffer.
- Return type:
np.ndarray