fields.base.SparseField.components#

property SparseField.components: MappingProxyType#

Read-only dictionary of field components.

Each entry maps a component index (typically an integer or tuple of integers) to a FieldComponent that stores data for that part of the field. This structure supports both dense (single component) and sparse (multi-component) representations.

Returns:

An immutable view of the field’s component dictionary.

Return type:

MappingProxyType