pisces.utilities.io_tools.HDF5Serializer.serialize_unyt_unit# static HDF5Serializer.serialize_unyt_unit(o: Unit) → dict[source]# Serialize a unyt unit into a dictionary. Parameters: o (unyt.Unit) – The unyt unit to serialize. Returns: A dictionary representation of the unyt unit. Return type: dict