yt.frontends.enzo.data_structures.EnzoDatasetInMemory.get_unit_from_registry

EnzoDatasetInMemory.get_unit_from_registry(unit_str)

Creates a unit object matching the string expression, using this dataset’s unit registry.

Parameters:

unit_str : str

string that we can parse for a sympy Expr.