fields.tensors.DenseTensorField.units#

property DenseTensorField.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