fields.base.DenseField.units#

property DenseField.units: Unit | None#

Physical units attached to the buffer data, if defined.

Returns:

The units attached to this field’s buffer.

Return type:

unyt.unit_registry.Unit or None