yt.units.unit_registry.UnitRegistry.add

UnitRegistry.add(symbol, base_value, dimensions, tex_repr=None)[source]

Add a symbol to this registry.