fields.components.FieldComponent.broadcast_to_buffer_core_in_axes#

FieldComponent.broadcast_to_buffer_core_in_axes(axes: AxesInput, **kwargs) Any#

Return the core backend array (e.g., NumPy, HDF5) broadcasted to a specified set of axes.

This method reshapes the raw backend representation of the buffer so its axes align with axes.

Parameters:
  • axes (list of str) – Target axes to broadcast over.

  • **kwargs – Additional keyword arguments passed to np.broadcast_to.

Returns:

The core array representation (e.g., np.ndarray, unyt_array) aligned with axes.

Return type:

Any