pisces.utilities.io_tools.HDF5Serializer.deserialize_unyt_unit#

static HDF5Serializer.deserialize_unyt_unit(o: dict) Unit[source]#

Deserialize a dictionary into a unyt unit.

Parameters:

o (dict) – The dictionary to deserialize.

Returns:

A unyt unit object.

Return type:

unyt.Unit