fields.components.FieldComponent.broadcast_to_unyt_array_in_axes#
- FieldComponent.broadcast_to_unyt_array_in_axes(axes: AxesInput, **kwargs) unyt_array #
Return the field data as a unit-aware unyt_array broadcasted to specified axes.
This reshapes the array to match the specified axes, preserving any attached units.